summaryrefslogtreecommitdiff
blob: 0e2bcf01b0b42b292c002985acfe588653f6fbaa (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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201208-01">
  <title>socat: Arbitrary code execution</title>
  <synopsis>A buffer overflow in socat might allow remote attackers to execute
    arbitrary code.
  </synopsis>
  <product type="ebuild">socat</product>
  <announced>2012-08-14</announced>
  <revised>2012-08-14: 1</revised>
  <bug>415977</bug>
  <access>local, remote</access>
  <affected>
    <package name="net-misc/socat" auto="yes" arch="*">
      <unaffected range="ge">1.7.2.1</unaffected>
      <vulnerable range="lt">1.7.2.1</vulnerable>
    </package>
  </affected>
  <background>
    <p>socat is a multipurpose bidirectional relay, similar to netcat.</p>
  </background>
  <description>
    <p>A vulnerability in the "xioscan_readline()" function in xio-readline.c
      could cause a heap-based buffer overflow.
    </p>
  </description>
  <impact type="high">
    <p>A remote attacker could possibly execute arbitrary code with the
      privileges of the socat process.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All socat users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=net-misc/socat-1.7.2.1"
    </code>
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-0219">CVE-2012-0219</uri>
    <uri link="http://www.dest-unreach.org/socat/contrib/socat-secadv3.html">
      Socat security advisory 3
    </uri>
  </references>
  <metadata timestamp="2012-07-11T21:57:34Z" tag="requester">ackle</metadata>
  <metadata timestamp="2012-08-14T20:30:08Z" tag="submitter">ackle</metadata>
</glsa>