CVE-2015-1379: Input Validation
Gerhard Rieger reports:
Socat security advisory 6 - Possible DoS with fork
Overview socats signal handler implementations are not async-signal-safe and can cause crash or freeze of socat processes
Vulnerability Id: (pending)
Severity: Low
Details Socats signal handler implementations are not asnyc-signal-safe. When a signal is triggered while the process is within a non async-signal-safe function the signal handler will call a non sync-signal-safe function too. POSIX specifies the behaviour in this situation as undefined. Dependend on involved functions, libraries, and operating system, the process can continue, freeze, or crash. Mostly this issue occurs when socat is in listening mode with fork option and a couple of child processes terminate at the same time.
Testcase none
Affected versions 1.0.0.0 - 1.7.2.4 2.0.0-b1 - 2.0.0-b7
Not affected or corrected versions 1.7.3.0 and later 2.0.0-b8 (to be released) and later
Workaround none
Download The updated sources can be downloaded from:
http://www.dest-unreach.org/socat/download/socat-1.7.3.0.tar.gz
Credits Credits to Peter Lobsinger
Other sources
The signal handler implementations in socat before 1.7.3.0 and 2.0.0-b8 allow remote attackers to cause a denial of service (process freeze or crash).
— MITRE
Affected Software
Remediation
Patch Available
Patch Available
Patch Available
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2015-1379?
The severity of CVE-2015-1379 is classified as low.
How do I fix CVE-2015-1379?
To fix CVE-2015-1379, update socat to version 1.7.3.0 or later.
What type of vulnerability is CVE-2015-1379?
CVE-2015-1379 is a vulnerability that can lead to a Denial of Service (DoS) due to improper signal handling.
Which versions of socat are affected by CVE-2015-1379?
CVE-2015-1379 affects socat versions up to and including 1.7.2.4 and the exact version 2.0.0-b8.
Who reported CVE-2015-1379?
CVE-2015-1379 was reported by Gerhard Rieger.