Home / mailings [gentoo-announce] [ GLSA 201208-01 ] socat: Arbitrary code execution
Posted on 14 August 2012
Gentoo-announceThis is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigA37DA68EA7C5D0D6862DAFE5
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 201208-01
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: High
Title: socat: Arbitrary code execution
Date: August 14, 2012
Bugs: #415977
ID: 201208-01
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
A buffer overflow in socat might allow remote attackers to execute
arbitrary code.
Background
==========
socat is a multipurpose bidirectional relay, similar to netcat.
Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 net-misc/socat < 1.7.2.1 >= 1.7.2.1
Description
===========
A vulnerability in the "xioscan_readline()" function in xio-readline.c
could cause a heap-based buffer overflow.
Impact
======
A remote attacker could possibly execute arbitrary code with the
privileges of the socat process.
Workaround
==========
There is no known workaround at this time.
Resolution
==========
All socat users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-misc/socat-1.7.2.1"
References
==========
[ 1 ] CVE-2012-0219
http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-0219
[ 2 ] Socat security advisory 3
http://www.dest-unreach.org/socat/contrib/socat-secadv3.html
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-201208-01.xml
Concerns?
=========
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.
License
=======
Copyright 2012 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).
The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.
http://creativecommons.org/licenses/by-sa/2.5
--------------enigA37DA68EA7C5D0D6862DAFE5
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"