summaryrefslogtreecommitdiff
path: root/metadata/glsa/glsa-200312-05.xml
blob: a07faf7ba339cc9d2b1d7cdb5910a3eb51dcd698 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200312-05">
  <title>GnuPG: ElGamal signing keys compromised and format string vulnerability</title>
  <synopsis>
    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.
  </synopsis>
  <product type="ebuild">GnuPG</product>
  <announced>2003-12-12</announced>
  <revised count="01">2003-12-12</revised>
  <bug>34504</bug>
  <access>unknown</access>
  <affected>
    <package name="app-crypt/gnupg" auto="yes" arch="*">
      <unaffected range="ge">1.2.3-r5</unaffected>
      <vulnerable range="le">1.2.3-r4</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    GnuPG is a popular open source signing and encryption tool.
    </p>
  </background>
  <description>
    <p>
    Two flaws have been found in GnuPG 1.2.3.
    </p>
    <p>
    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
    seconds".
    </p>
    <p>
    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."
    </p>
  </description>
  <impact type="minimal">
    <p>
    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.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    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:
    </p>
    <code>
    # emerge sync
    # emerge -pv '&gt;=app-crypt/gnupg-1.2.3-r5'
    # emerge '&gt;=app-crypt/gnupg-1.2.3-r5'
    # emerge clean</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0971">CAN-2003-0971</uri>
    <uri link="http://marc.theaimsgroup.com/?l=gnupg-announce&amp;m=106992378510843&amp;q=raw">GnuPG Announcement</uri>
    <uri link="http://www.s-quadra.com/advisories/Adv-20031203.txt">S-Quadra Advisory</uri>
  </references>
</glsa>