blob: 2f5973332bd56e235417ec311d9eca2262d2411d [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<glsa id="200312-05">
<title>GnuPG: ElGamal signing keys compromised and format string vulnerability</title>
A bug in GnuPG allows ElGamal signing keys to be compromised, and a format
string bug in the gpgkeys_hkp utility may allow arbitrary code execution.
<product type="ebuild">GnuPG</product>
<revised>2003-12-12: 01</revised>
<package name="app-crypt/gnupg" auto="yes" arch="*">
<unaffected range="ge">1.2.3-r5</unaffected>
<vulnerable range="le">1.2.3-r4</vulnerable>
GnuPG is a popular open source signing and encryption tool.
Two flaws have been found in GnuPG 1.2.3.
First, ElGamal signing keys can be compromised. These keys are not commonly
used, but this is "a significant security failure which can lead to a
compromise of almost all ElGamal keys used for signing. Note that this is a
real world vulnerability which will reveal your private key within a few
Second, there is a format string flaw in the 'gpgkeys_hkp' utility which
"would allow a malicious keyserver in the worst case to execute an arbitrary
code on the user's machine."
<impact type="minimal">
If you have used ElGamal keys for signing your private key can be
compromised, and a malicious keyserver could remotely execute arbitrary code
with the permissions of the user running gpgkeys_hkp.
There is no known workaround at this time.
All users who have created ElGamal signing keys should immediately revoke
them. In addition, all Gentoo Linux machines with gnupg installed should be
updated to use gnupg-1.2.3-r5 or higher:
# emerge sync
# emerge -pv '&gt;=app-crypt/gnupg-1.2.3-r5'
# emerge '&gt;=app-crypt/gnupg-1.2.3-r5'
# emerge clean</code>
<uri link="">CAN-2003-0971</uri>
<uri link=";m=106992378510843&amp;q=raw">GnuPG Announcement</uri>
<uri link="">S-Quadra Advisory</uri>