summaryrefslogtreecommitdiff
blob: eedde950e8a81188970cf0815eabffb493e914df (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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200410-29">
  <title>PuTTY: Pre-authentication buffer overflow</title>
  <synopsis>
    PuTTY contains a vulnerability allowing an SSH server to execute arbitrary
    code on the connecting client.
  </synopsis>
  <product type="ebuild">putty</product>
  <announced>2004-10-27</announced>
  <revised count="02">2006-05-22</revised>
  <bug>69123</bug>
  <access>remote</access>
  <affected>
    <package name="net-misc/putty" auto="yes" arch="*">
      <unaffected range="ge">0.56</unaffected>
      <vulnerable range="le">0.55</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    PuTTY is a free implementation of Telnet and SSH for Win32 and Unix
    platforms, along with an xterm terminal emulator.
    </p>
  </background>
  <description>
    <p>
    PuTTY fails to do proper bounds checking on SSH2_MSG_DEBUG packets. The
    "stringlen" parameter value is incorrectly checked due to signedness
    issues. Note that this vulnerability is similar to the one described in
    GLSA 200408-04 but not the same.
    </p>
  </description>
  <impact type="normal">
    <p>
    When PuTTY connects to a server using the SSH2 protocol, an attacker
    may be able to send specially crafted packets to the client, resulting
    in the execution of arbitrary code with the permissions of the user
    running PuTTY. Note that this is possible during the authentication
    process but before host key verification.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All PuTTY users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=net-misc/putty-0.56"</code>
  </resolution>
  <references>
    <uri link="http://www.idefense.com/application/poi/display?id=155">iDEFENSE Security Advisory 10.27.04</uri>
    <uri link="https://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html">PuTTY ChangeLog</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-1008">CVE-2004-1008</uri>
  </references>
  <metadata tag="requester" timestamp="2004-10-27T15:40:45Z">
    koon
  </metadata>
  <metadata tag="bugReady" timestamp="2004-10-27T15:40:58Z">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="2004-10-27T16:43:51Z">
    jaervosz
  </metadata>
</glsa>