Bug 821552 (CVE-2012-0219) - CVE-2012-0219 socat: heap-based buffer overflow flaw leads to arbitrary code execution
Summary: CVE-2012-0219 socat: heap-based buffer overflow flaw leads to arbitrary code ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: CVE-2012-0219
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 821553 821554
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-14 21:59 UTC by Vincent Danen
Modified: 2019-09-29 12:53 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-28 03:51:43 UTC


Attachments (Terms of Use)

Description Vincent Danen 2012-05-14 21:59:50 UTC
A heap-based buffer overflow flaw was found in socat with data that happens to be output on the READLINE address.  The READLINE address is usually only used interactively, without the "prompt" and "noprompt" options.  If an attacker were able to provide malicious data to the other (arbitrary) address that is then transferred to socat's READLINE address for output, they would be able to execute arbitrary code with the privileges of the socat process.

To work around this flaw, you can use the "prompt" or "noprompt" options with the READLINE address.

This has been corrected upstream [1] in versions 1.7.2.1 and 2.0.0-b5; patches are available.

[1] http://www.dest-unreach.org/socat/contrib/socat-secadv3.html

Comment 1 Vincent Danen 2012-05-14 22:01:02 UTC
Created socat tracking bugs for this issue

Affects: fedora-all [bug 821553]
Affects: epel-all [bug 821554]


Note You need to log in before you can comment on or make changes to this bug.