Gentoo Logo

socat: Arbitrary code execution

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201208-01 / socat
Release Date August 14, 2012
Latest Revision August 14, 2012: 1
Impact high
Exploitable local, remote
Package Vulnerable versions Unaffected versions Architecture(s)
net-misc/socat < 1.7.2.1 >= 1.7.2.1 All supported architectures

Related bugreports: #415977

Synopsis

A buffer overflow in socat might allow remote attackers to execute arbitrary code.

2.  Impact Information

Background

socat is a multipurpose bidirectional relay, similar to netcat.

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.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All socat users should upgrade to the latest version:

Code Listing 3.1: Resolution

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=net-misc/socat-1.7.2.1"

4.  References



Print

Page updated August 14, 2012

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.