CVE-2006-6169 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-...
MediumCVSS 6.8
EPSS 3.5%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Debian
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.
Upgrade path
4 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/gnupg2(Debian 12) | < 2.0.0-5.1 | 2.0.0-5.1 | Fixed |
| debian/gnupg2(Debian 13) | < 2.0.0-5.1 | 2.0.0-5.1 | Fixed |
| debian/gnupg2(Debian 14) | < 2.0.0-5.1 | 2.0.0-5.1 | Fixed |
| GnuPG | = 1.4; = 2.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| GnuPG | = 1.4 | No fix listed |
| GnuPG | = 2.0 | No fix listed |
| debian/gnupg2(Debian:12) | < 2.0.0-5.1 | 2.0.0-5.1 |
| debian/gnupg2(Debian:13) | < 2.0.0-5.1 | 2.0.0-5.1 |
| debian/gnupg2(Debian:14) | < 2.0.0-5.1 | 2.0.0-5.1 |
References
- [gnupg-announce] 20061127 GnuPG 1.4 and 2.0 buffer overflow mailing-list
- SUSE-SA:2006:075 vendor-advisory
- 23094 patch third-party-advisory vendor-advisory
- 23110 third-party-advisory
- 23146 third-party-advisory
- 23161 third-party-advisory
- 23171 third-party-advisory
- 23250 third-party-advisory
- 23269 third-party-advisory
- 23284 third-party-advisory
- 23299 third-party-advisory
- 23303 third-party-advisory
- 23513 third-party-advisory
- 24047 third-party-advisory
- GLSA-200612-03 vendor-advisory
- 1927 third-party-advisory
- 1017291 vdb-entry
- support.avaya.com
- DSA-1231 vendor-advisory
- MDKSA-2006:221 vendor-advisory
- OpenPKG-SA-2006.037 vendor-advisory
- RHSA-2006:0754 vendor-advisory
- 20061127 GnuPG 1.4 and 2.0 buffer overflow mailing-list
- 20061201 rPSA-2006-0224-1 gnupg mailing-list
- 21306 vdb-entry
- 2006-0068 vendor-advisory
- USN-389-1 vendor-advisory
- USN-393-2 vendor-advisory
- ADV-2006-4736 vdb-entry
- bugs.g10code.com
- gnupg-openfile-bo(30550) vdb-entry
- issues.rpath.com
- oval:org.mitre.oval:def:11228 signature vdb-entry
- Debian Security Tracker CVE-2006-6169 vendor-advisory
- bugs.debian.org issue-tracking