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.
526 vulnerabilities reference this CWE, most recent first.
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": []
}
GHSA-RMXR-5W24-74WC
Vulnerability from github – Published: 2022-05-14 01:29 – Updated: 2025-04-20 03:46In Wireshark 2.4.0 to 2.4.1, 2.2.0 to 2.2.9, and 2.0.0 to 2.0.15, the DMP dissector could crash. This was addressed in epan/dissectors/packet-dmp.c by validating a string length.
{
"affected": [],
"aliases": [
"CVE-2017-15191"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2017-10-10T21:29:00Z",
"severity": "HIGH"
},
"details": "In Wireshark 2.4.0 to 2.4.1, 2.2.0 to 2.2.9, and 2.0.0 to 2.0.15, the DMP dissector could crash. This was addressed in epan/dissectors/packet-dmp.c by validating a string length.",
"id": "GHSA-rmxr-5w24-74wc",
"modified": "2025-04-20T03:46:32Z",
"published": "2022-05-14T01:29:44Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-15191"
},
{
"type": "WEB",
"url": "https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=14068"
},
{
"type": "WEB",
"url": "https://code.wireshark.org/review/23591"
},
{
"type": "WEB",
"url": "https://code.wireshark.org/review/gitweb?p=wireshark.git%3Ba=commit%3Bh=8dbb21dfde14221dab09b6b9c7719b9067c1f06e"
},
{
"type": "WEB",
"url": "https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8dbb21dfde14221dab09b6b9c7719b9067c1f06e"
},
{
"type": "WEB",
"url": "https://lists.debian.org/debian-lts-announce/2019/01/msg00010.html"
},
{
"type": "WEB",
"url": "https://www.wireshark.org/security/wnpa-sec-2017-44.html"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/101227"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-RXMX-W44H-9GVH
Vulnerability from github – Published: 2023-03-29 21:30 – Updated: 2023-04-06 15:30This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-1935 1.03 routers. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed. The specific flaw exists within the handling of ConfigFileUpload requests to the web management portal. The issue results from the lack of proper validation of a user-supplied string before using it as a format specifier. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-16141.
{
"affected": [],
"aliases": [
"CVE-2022-43619"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2023-03-29T19:15:00Z",
"severity": "MODERATE"
},
"details": "This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-1935 1.03 routers. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed. The specific flaw exists within the handling of ConfigFileUpload requests to the web management portal. The issue results from the lack of proper validation of a user-supplied string before using it as a format specifier. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-16141.",
"id": "GHSA-rxmx-w44h-9gvh",
"modified": "2023-04-06T15:30:18Z",
"published": "2023-03-29T21:30:19Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-43619"
},
{
"type": "WEB",
"url": "https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10310"
},
{
"type": "WEB",
"url": "https://www.zerodayinitiative.com/advisories/ZDI-22-1493"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-V2H5-46C5-J7MF
Vulnerability from github – Published: 2022-05-17 01:27 – Updated: 2022-05-17 01:27The bashMail function in cms/data/skins/techjunkie/fragments/contacts/functions.php in SkyBlueCanvas CMS before 1.1 r248-04, when the pid parameter is 4, allows remote attackers to execute arbitrary commands via shell metacharacters in the (1) name, (2) email, (3) subject, or (4) message parameter to index.php.
{
"affected": [],
"aliases": [
"CVE-2014-1683"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2014-01-29T18:55:00Z",
"severity": "MODERATE"
},
"details": "The bashMail function in cms/data/skins/techjunkie/fragments/contacts/functions.php in SkyBlueCanvas CMS before 1.1 r248-04, when the pid parameter is 4, allows remote attackers to execute arbitrary commands via shell metacharacters in the (1) name, (2) email, (3) subject, or (4) message parameter to index.php.",
"id": "GHSA-v2h5-46c5-j7mf",
"modified": "2022-05-17T01:27:06Z",
"published": "2022-05-17T01:27:06Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2014-1683"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/90670"
},
{
"type": "WEB",
"url": "http://packetstormsecurity.com/files/124948/SkyBlueCanvas-CMS-1.1-r248-03-Command-Injection.html"
},
{
"type": "WEB",
"url": "http://seclists.org/fulldisclosure/2014/Jan/159"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/56646"
},
{
"type": "WEB",
"url": "http://www.exploit-db.com/exploits/31183"
},
{
"type": "WEB",
"url": "http://www.exploit-db.com/exploits/31432"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/65129"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-V2P7-MRRM-W56P
Vulnerability from github – Published: 2022-05-17 03:13 – Updated: 2022-05-17 03:13Format string vulnerability in the osLogMsg function in server/os/aulog.c in Network Audio System (NAS) 1.9.3 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via format string specifiers in unspecified vectors, related to syslog.
{
"affected": [],
"aliases": [
"CVE-2013-4258"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2013-10-09T14:54:00Z",
"severity": "HIGH"
},
"details": "Format string vulnerability in the osLogMsg function in server/os/aulog.c in Network Audio System (NAS) 1.9.3 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via format string specifiers in unspecified vectors, related to syslog.",
"id": "GHSA-v2p7-mrrm-w56p",
"modified": "2022-05-17T03:13:09Z",
"published": "2022-05-17T03:13:09Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2013-4258"
},
{
"type": "WEB",
"url": "http://radscan.com/pipermail/nas/2013-August/001270.html"
},
{
"type": "WEB",
"url": "http://radscan.com/pipermail/nas/2013-August/001277.html"
},
{
"type": "WEB",
"url": "http://sourceforge.net/mailarchive/forum.php?thread_name=E1Rp1rP-00038Z-VJ%40sfp-svn-6.v30.ch3.sourceforge.com\u0026forum_name=nas-commits"
},
{
"type": "WEB",
"url": "http://www.debian.org/security/2013/dsa-2771"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2013/08/16/2"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2013/08/19/3"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/61852"
}
],
"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.