GLSA 201208-01: socat: Arbitrary code execution

Severity:high
Title:socat: Arbitrary code execution
Date:08/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 Architecture(s)
net-misc/socat < 1.7.2.1 >= 1.7.2.1 All supported architectures

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

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 2010 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.

Thank you!