|
GnuPG "make_printable_string()" Buffer Overflow Vulnerability
|
|
Secunia Advisory:
|
SA23094
|
|
|
Release Date:
|
2006-11-28
|
|
Last Update:
|
2006-12-01
|
|
Popularity:
|
9,881 views
|
|
|
Critical:
|
 Moderately critical
|
|
Impact:
|
System access
|
|
Where:
|
From remote
|
|
Solution Status:
|
Vendor Patch
|
|
| Software: | GnuPG / gpg 1.0.x GnuPG / gpg 1.2.x GnuPG / gpg 1.3.x GnuPG / gpg 1.4.x GnuPG / gpg 2.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2006-6169
|
|
Description: Hugh Warrington has reported a vulnerability in GnuPG, which potentially can be exploited by malicious people to compromise a user's system.
The vulnerability is caused due to a boundary error in the "ask_outfile_name()" function in openfile.c, because the "make_printable_string()" function can return a string longer than the expected "NAMELEN". This can be exploited to cause a buffer overflow by e.g. tricking a user into processing a specially crafted file using the interactive mode.
Successful exploitation may allow the execution of arbitrary code, but requires that the interactive mode is used. Applications using the batch mode (e.g. most e-mail clients) are not affected.
The vulnerability is reported in version 1.4.5 and 2.0.0. Other versions may also be affected.
Solution: Apply patch.
http://cvs.gnupg.org/cgi-bin/viewcvs....le.c?rev=4349&r1=4215&r2=4349
Provided and/or discovered by: Hugh Warrington
Changelog: 2006-12-01: Added CVE reference.
Original Advisory: http://lists.gnupg.org/pipermail/gnupg-announce/2006q4/000241.html
|
|
|
Track this Secunia Advisory
|
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.
Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.
|
|
|
About this Secunia Advisory
|
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
|