Distro advisory · Debian 5
socat - arbitrary code execution
Description
Vulnerability : incorrect user-input validation Problem type : remote Debian-specific: no Debian bug : 591443 CVE ID : CVE-2010-2799
A stack overflow vulnerability was found in socat that allows an attacker to execute arbitrary code with the privileges of the socat process.
This vulnerability can only be exploited when an attacker is able to inject more than 512 bytes of data into socat's argument.
A vulnerable scenario would be a CGI script that reads data from clients and uses (parts of) this data as argument for a socat invocation.
Manual fix · Debian 5
sudo apt-get updatesudo apt-get install --only-upgrade socatdpkg -s socat | grep VersionSources