CVE-2010-2799: Buffer Overflow

Published Aug 2, 2010
·
Updated

Socat upstream, released an advisory: [1] http://www.dest-unreach.org/socat/contrib/socat-secadv2.html

describing a stack overflow flaw, present in Socat bidirectional data relay, when processing command line arguments (address specifications, host names, file names), longer than 512 bytes. An attacker, able to inject data into sockat's command line (potentially remotely via CGI script invocation), could use this flaw to execute arbitrary code with the privileges of the socat process.

References: [2] http://bugs.gentoo.org/showbug.cgi?id=330785

Upstream patch against v1.7.2: [3] http://www.dest-unreach.org/socat/download/socat-1.7.1.3.patch

Credit: Issue discovered and reported by Felix Gröbert of Google Security Team

CVE Request: [4] http://www.openwall.com/lists/oss-security/2010/08/02/3

Other sources

Stack-based buffer overflow in the nestlex function in nestlex.c in Socat 1.5.0.0 through 1.7.1.2 and 2.0.0-b1 through 2.0.0-b3, when bidirectional data relay is enabled, allows context-dependent attackers to execute arbitrary code via long command-line arguments.

MITRE

Affected Software

10 affected components
dest-unreach Socat=1.7.1.1
dest-unreach Socat=1.7.0.0
dest-unreach Socat=1.5.0.0
dest-unreach Socat=2.0.0-b3
dest-unreach Socat=1.6.0.0
dest-unreach Socat=1.7.1.0
dest-unreach Socat=2.0.0-b2
dest-unreach Socat=1.6.0.1
dest-unreach Socat=2.0.0-b1
dest-unreach Socat=1.7.0.1

Event History

Aug 2, 2010
Data Sourced
01:45 PM
DescriptionSeverityAffected Software
Sep 14, 2010
CVE Published
via MITRE·08:03 PM
Data Sourced
via MITRE·08:03 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2010-2799?

CVE-2010-2799 has been classified as a critical vulnerability due to its potential for a stack overflow which could lead to remote code execution.

2

How do I fix CVE-2010-2799?

To fix CVE-2010-2799, upgrade to the latest version of Socat that addresses this vulnerability.

3

What versions of Socat are affected by CVE-2010-2799?

CVE-2010-2799 affects multiple versions of Socat including 1.5.0.0 through 1.7.1.1 and 2.0.0-b1 through 2.0.0-b3.

4

What are the potential impacts of CVE-2010-2799?

Exploitation of CVE-2010-2799 could allow an attacker to execute arbitrary code, potentially compromising the affected system.

5

Is there a workaround for CVE-2010-2799?

There are no known workarounds for CVE-2010-2799; the recommended action is to update Socat to a secure version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203