Overview
- Description
- Heap-based buffer overflow in the ask_outfile_name function in openfile.c for GnuPG (gpg) 1.4 and 2.0, when running interactively, might allow attackers to execute arbitrary code via messages with "C-escape" expansions, which cause the make_printable_string function to return a longer string than expected while constructing a prompt.
- Source
- cve@mitre.org
- NVD status
- Modified
Risk scores
CVSS 2.0
- Type
- Primary
- Base score
- 6.8
- Impact score
- 6.4
- Exploitability score
- 8.6
- Vector string
- AV:N/AC:M/Au:N/C:P/I:P/A:P
Weaknesses
- nvd@nist.gov
- NVD-CWE-Other
Social media
- Hype score
- Not currently trending
Vendor comments
- Red HatRed Hat does not consider this bug to be a security flaw. In order for this flaw to be exploited, a user would be required to enter shellcode into an interactive GnuPG session. Red Hat considers this to be an unlikely scenario. Red Hat Enterprise Linux 5 contains a backported patch to address this issue.
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:gnupg:gnupg:1.4:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "365FF476-1FFD-4E09-900C-50E0660766AB" }, { "criteria": "cpe:2.3:a:gnupg:gnupg:2.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "47C64072-FC9C-4CA9-9752-3BC08839E319" } ], "operator": "OR" } ] } ]