CWE-134
AllowedUse of Externally-Controlled Format String
Abstraction: Base · Status: Draft
The product uses a function that accepts a format string as an argument, but the format string originates from an external source.
499 vulnerabilities reference this CWE, most recent first.
GHSA-R7V6-M227-RM4X
Vulnerability from github – Published: 2024-05-14 18:31 – Updated: 2024-05-14 18:31A use of externally-controlled format string in Fortinet FortiProxy versions 7.2.0 through 7.2.4, 7.0.0 through 7.0.10, 2.0.0 through 2.0.13, 1.2.0 through 1.2.13, 1.1.0 through 1.1.6, 1.0.0 through 1.0.7, FortiPAM versions 1.0.0 through 1.0.3, FortiOS versions 7.2.0, 7.0.0 through 7.0.12, 6.4.0 through 6.4.14, 6.2.0 through 6.2.15, 6.0.0 through 6.0.16 allows attacker to execute unauthorized code or commands via specially crafted commands
{
"affected": [],
"aliases": [
"CVE-2023-36640"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2024-05-14T17:15:16Z",
"severity": "MODERATE"
},
"details": "A use of externally-controlled format string in Fortinet FortiProxy versions 7.2.0 through 7.2.4, 7.0.0 through 7.0.10, 2.0.0 through 2.0.13, 1.2.0 through 1.2.13, 1.1.0 through 1.1.6, 1.0.0 through 1.0.7, FortiPAM versions 1.0.0 through 1.0.3, FortiOS versions 7.2.0, 7.0.0 through 7.0.12, 6.4.0 through 6.4.14, 6.2.0 through 6.2.15, 6.0.0 through 6.0.16 allows attacker to execute unauthorized code or commands via specially crafted commands",
"id": "GHSA-r7v6-m227-rm4x",
"modified": "2024-05-14T18:31:02Z",
"published": "2024-05-14T18:31:02Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-36640"
},
{
"type": "WEB",
"url": "https://fortiguard.com/psirt/FG-IR-23-137"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-RC66-4982-RV68
Vulnerability from github – Published: 2022-05-01 23:32 – Updated: 2022-05-01 23:32Format string vulnerability in the ReportSysLogEvent function in the LPD server in cyan soft Opium OPI Server 4.10.1028 and earlier; cyanPrintIP Easy OPI, Professional, and Basic 4.10.1030 and earlier; Workstation 4.10.836 and earlier; and Standard 4.10.940 and earlier; might allow remote attackers to execute arbitrary code via format string specifiers in the queue name in a request.
{
"affected": [],
"aliases": [
"CVE-2008-0755"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2008-02-13T20:00:00Z",
"severity": "HIGH"
},
"details": "Format string vulnerability in the ReportSysLogEvent function in the LPD server in cyan soft Opium OPI Server 4.10.1028 and earlier; cyanPrintIP Easy OPI, Professional, and Basic 4.10.1030 and earlier; Workstation 4.10.836 and earlier; and Standard 4.10.940 and earlier; might allow remote attackers to execute arbitrary code via format string specifiers in the queue name in a request.",
"id": "GHSA-rc66-4982-rv68",
"modified": "2022-05-01T23:32:57Z",
"published": "2022-05-01T23:32:57Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2008-0755"
},
{
"type": "WEB",
"url": "http://aluigi.altervista.org/adv/cyanuro-adv.txt"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/28870"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/archive/1/487955/100/0/threaded"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/27728"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/27734"
},
{
"type": "WEB",
"url": "http://www.vupen.com/english/advisories/2008/0498"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-RFFQ-Q3V2-PW4Q
Vulnerability from github – Published: 2022-05-02 03:14 – Updated: 2022-05-02 03:14Format string vulnerability in the mini_calendar component in Citadel.org WebCit 7.22, and other versions before 7.39, allows remote attackers to execute arbitrary code via unspecified vectors.
{
"affected": [],
"aliases": [
"CVE-2009-0364"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2009-03-26T05:50:00Z",
"severity": "HIGH"
},
"details": "Format string vulnerability in the mini_calendar component in Citadel.org WebCit 7.22, and other versions before 7.39, allows remote attackers to execute arbitrary code via unspecified vectors.",
"id": "GHSA-rffq-q3v2-pw4q",
"modified": "2022-05-02T03:14:55Z",
"published": "2022-05-02T03:14:55Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2009-0364"
},
{
"type": "WEB",
"url": "http://osvdb.org/52915"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/34457"
},
{
"type": "WEB",
"url": "http://www.citadel.org/doku.php/news:webcit.security.advisory.-.2009-march-23"
},
{
"type": "WEB",
"url": "http://www.debian.org/security/2009/dsa-1752"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/34206"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-RG28-4V7W-VH73
Vulnerability from github – Published: 2022-05-17 01:13 – Updated: 2022-05-17 01:13Multiple format string vulnerabilities in the parse_error_msg function in parsehelp.c in dpkg before 1.17.22 allow remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via format string specifiers in the (1) package or (2) architecture name.
{
"affected": [],
"aliases": [
"CVE-2014-8625"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2015-01-20T15:59:00Z",
"severity": "MODERATE"
},
"details": "Multiple format string vulnerabilities in the parse_error_msg function in parsehelp.c in dpkg before 1.17.22 allow remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via format string specifiers in the (1) package or (2) architecture name.",
"id": "GHSA-rg28-4v7w-vh73",
"modified": "2022-05-17T01:13:08Z",
"published": "2022-05-17T01:13:08Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2014-8625"
},
{
"type": "WEB",
"url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768485"
},
{
"type": "WEB",
"url": "https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1389135"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/98551"
},
{
"type": "WEB",
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-May/157387.html"
},
{
"type": "WEB",
"url": "http://seclists.org/oss-sec/2014/q4/539"
},
{
"type": "WEB",
"url": "http://seclists.org/oss-sec/2014/q4/551"
},
{
"type": "WEB",
"url": "http://seclists.org/oss-sec/2014/q4/622"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-RG5M-3FQP-6PX8
Vulnerability from github – Published: 2017-10-24 18:33 – Updated: 2023-07-04 00:18Multiple format string vulnerabilities in log_subscriber.rb files in the log subscriber component in Action Mailer in Ruby on Rails 3.x before 3.2.15 allow remote attackers to cause a denial of service via a crafted e-mail address that is improperly handled during construction of a log message.
{
"affected": [
{
"package": {
"ecosystem": "RubyGems",
"name": "actionmailer"
},
"ranges": [
{
"events": [
{
"introduced": "3.0.0"
},
{
"fixed": "3.2.15"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2013-4389"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": true,
"github_reviewed_at": "2020-06-16T21:54:42Z",
"nvd_published_at": "2013-10-17T00:55:03Z",
"severity": "MODERATE"
},
"details": "Multiple format string vulnerabilities in log_subscriber.rb files in the log subscriber component in Action Mailer in Ruby on Rails 3.x before 3.2.15 allow remote attackers to cause a denial of service via a crafted e-mail address that is improperly handled during construction of a log message.",
"id": "GHSA-rg5m-3fqp-6px8",
"modified": "2023-07-04T00:18:31Z",
"published": "2017-10-24T18:33:37Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2013-4389"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-rg5m-3fqp-6px8"
},
{
"type": "PACKAGE",
"url": "https://github.com/rails/rails/tree/main/actionmailer"
},
{
"type": "WEB",
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionmailer/CVE-2013-4389.yml"
},
{
"type": "WEB",
"url": "https://web.archive.org/web/20201208175929/https://groups.google.com/forum/message/raw?msg=ruby-security-ann/yvlR1Vx44c8/elKJkpO2KVgJ"
},
{
"type": "WEB",
"url": "http://lists.opensuse.org/opensuse-updates/2013-12/msg00091.html"
},
{
"type": "WEB",
"url": "http://lists.opensuse.org/opensuse-updates/2013-12/msg00094.html"
},
{
"type": "WEB",
"url": "http://lists.opensuse.org/opensuse-updates/2014-01/msg00003.html"
},
{
"type": "WEB",
"url": "http://www.debian.org/security/2014/dsa-2887"
},
{
"type": "WEB",
"url": "http://www.debian.org/security/2014/dsa-2888"
}
],
"schema_version": "1.4.0",
"severity": [],
"summary": "actionmailer email address processing causes Denial of service"
}
GHSA-RHFJ-295M-9HHJ
Vulnerability from github – Published: 2023-12-13 09:30 – Updated: 2023-12-13 09:30A use of externally-controlled format string in Fortinet FortiProxy versions 7.2.0 through 7.2.4, 7.0.0 through 7.0.10, FortiOS versions 7.4.0, 7.2.0 through 7.2.4, 7.0.0 through 7.0.11, 6.4.0 through 6.4.12, 6.2.0 through 6.2.15, 6.0.0 through 6.0.17, FortiPAM versions 1.0.0 through 1.0.3 allows attacker to execute unauthorized code or commands via specially crafted API requests.
{
"affected": [],
"aliases": [
"CVE-2023-36639"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2023-12-13T07:15:12Z",
"severity": "HIGH"
},
"details": "A use of externally-controlled format string in Fortinet FortiProxy versions 7.2.0 through 7.2.4, 7.0.0 through 7.0.10, FortiOS versions 7.4.0, 7.2.0 through 7.2.4, 7.0.0 through 7.0.11, 6.4.0 through 6.4.12, 6.2.0 through 6.2.15, 6.0.0 through 6.0.17, FortiPAM versions 1.0.0 through 1.0.3 allows attacker to execute unauthorized code or commands via specially crafted API requests.",
"id": "GHSA-rhfj-295m-9hhj",
"modified": "2023-12-13T09:30:32Z",
"published": "2023-12-13T09:30:32Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-36639"
},
{
"type": "WEB",
"url": "https://fortiguard.com/psirt/FG-IR-23-138"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-RHVX-39XQ-GVF5
Vulnerability from github – Published: 2023-05-04 21:30 – Updated: 2024-04-04 03:48Use of externally-controlled format string vulnerability in mPOS TUI trustlet prior to SMR May-2023 Release 1 allows local attackers to access the memory address.
{
"affected": [],
"aliases": [
"CVE-2023-21497"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2023-05-04T21:15:10Z",
"severity": "HIGH"
},
"details": "Use of externally-controlled format string vulnerability in mPOS TUI trustlet prior to SMR May-2023 Release 1 allows local attackers to access the memory address.",
"id": "GHSA-rhvx-39xq-gvf5",
"modified": "2024-04-04T03:48:34Z",
"published": "2023-05-04T21:30:28Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-21497"
},
{
"type": "WEB",
"url": "https://security.samsungmobile.com/securityUpdate.smsb?year=2023\u0026month=05"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
}
]
}
GHSA-RMC4-WGQP-PWVM
Vulnerability from github – Published: 2022-05-02 00:04 – Updated: 2025-04-09 04:07Multiple format string vulnerabilities in UltraISO 9.3.1.2633, and possibly other versions before 9.3.3.2685, allow user-assisted attackers to execute arbitrary code via format string specifiers in the filename of a (1) DAA or (2) ISZ file.
{
"affected": [],
"aliases": [
"CVE-2008-3871"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2009-04-01T18:00:00Z",
"severity": "HIGH"
},
"details": "Multiple format string vulnerabilities in UltraISO 9.3.1.2633, and possibly other versions before 9.3.3.2685, allow user-assisted attackers to execute arbitrary code via format string specifiers in the filename of a (1) DAA or (2) ISZ file.",
"id": "GHSA-rmc4-wgqp-pwvm",
"modified": "2025-04-09T04:07:31Z",
"published": "2022-05-02T00:04:34Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2008-3871"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/32415"
},
{
"type": "WEB",
"url": "http://secunia.com/secunia_research/2008-48"
},
{
"type": "WEB",
"url": "http://www.ezbsystems.com/ultraiso/history.htm"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/archive/1/502324/100/0/threaded"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/34325"
},
{
"type": "WEB",
"url": "http://www.securitytracker.com/id?1021965"
},
{
"type": "WEB",
"url": "http://www.vupen.com/english/advisories/2009/0903"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-RMRH-J6WX-6F69
Vulnerability from github – Published: 2022-05-24 19:17 – Updated: 2022-05-24 19:17A remote denial of service vulnerability was discovered in Aruba Instant version(s): Aruba Instant 6.5.x.x: 6.5.4.18 and below; Aruba Instant 8.5.x.x: 8.5.0.10 and below; Aruba Instant 8.6.x.x: 8.6.0.4 and below. Aruba has released patches for Aruba Instant (IAP) that address this security vulnerability.
{
"affected": [],
"aliases": [
"CVE-2021-37735"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2021-10-12T16:15:00Z",
"severity": "MODERATE"
},
"details": "A remote denial of service vulnerability was discovered in Aruba Instant version(s): Aruba Instant 6.5.x.x: 6.5.4.18 and below; Aruba Instant 8.5.x.x: 8.5.0.10 and below; Aruba Instant 8.6.x.x: 8.6.0.4 and below. Aruba has released patches for Aruba Instant (IAP) that address this security vulnerability.",
"id": "GHSA-rmrh-j6wx-6f69",
"modified": "2022-05-24T19:17:17Z",
"published": "2022-05-24T19:17:17Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-37735"
},
{
"type": "WEB",
"url": "https://cert-portal.siemens.com/productcert/pdf/ssa-917476.pdf"
},
{
"type": "WEB",
"url": "https://www.arubanetworks.com/assets/alert/ARUBA-PSA-2021-017.txt"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-RMWR-5HQ9-6753
Vulnerability from github – Published: 2022-05-17 04:46 – Updated: 2022-05-17 04:46Format string vulnerability in CoreServicesUIAgent in Apple OS X 10.9.x through 10.9.2 allows remote attackers to execute arbitrary code or cause a denial of service (application crash) via format string specifiers in a URL.
{
"affected": [],
"aliases": [
"CVE-2014-1315"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2014-04-23T11:52:00Z",
"severity": "MODERATE"
},
"details": "Format string vulnerability in CoreServicesUIAgent in Apple OS X 10.9.x through 10.9.2 allows remote attackers to execute arbitrary code or cause a denial of service (application crash) via format string specifiers in a URL.",
"id": "GHSA-rmwr-5hq9-6753",
"modified": "2022-05-17T04:46:02Z",
"published": "2022-05-17T04:46:02Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2014-1315"
},
{
"type": "WEB",
"url": "http://archives.neohapsis.com/archives/bugtraq/2014-04/0134.html"
}
],
"schema_version": "1.4.0",
"severity": []
}
Mitigation
Choose a language that is not subject to this flaw.
Mitigation
Ensure that all format string functions are passed a static string which cannot be controlled by the user, and that the proper number of arguments are always sent to that function as well. If at all possible, use functions that do not support the %n operator in format strings. [REF-116] [REF-117]
Mitigation
Run compilers and linkers with high warning levels, since they may detect incorrect usage.
CAPEC-135: Format String Injection
An adversary includes formatting characters in a string input field on the target application. Most applications assume that users will provide static text and may respond unpredictably to the presence of formatting character. For example, in certain functions of the C programming languages such as printf, the formatting character %s will print the contents of a memory location expecting this location to identify a string and the formatting character %n prints the number of DWORD written in the memory. An adversary can use this to read or write to memory locations or files, or simply to manipulate the value of the resulting text in unexpected ways. Reading or writing memory may result in program crashes and writing memory could result in the execution of arbitrary code if the adversary can write to the program stack.
CAPEC-67: String Format Overflow in syslog()
This attack targets applications and software that uses the syslog() function insecurely. If an application does not explicitely use a format string parameter in a call to syslog(), user input can be placed in the format string parameter leading to a format string injection attack. Adversaries can then inject malicious format string commands into the function call leading to a buffer overflow. There are many reported software vulnerabilities with the root cause being a misuse of the syslog() function.