| Summary: | CVE-2016-2217: Socat security advisory 7 & 8 | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Armin Kuster <akuster> |
| Component: | core | Assignee: | Armin Kuster <akuster> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | meta.mr.watcher, meta.watcher |
| Version: | 2.1 | ||
| Target Milestone: | 1.8.2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
Socat security advisory 8 - Stack overflow in parser
Overview
A stack overflow vulnerability was found that can be triggered when
command line arguments (complete address specifications, host names,
file names) are longer than 512 bytes.
Successful exploitation might allow 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 data into socat's command line.
A vulnerable scenario would be a CGI script that reads data from
clients and uses (parts of) this data as hostname for a Socat
invocation.
Vulnerability Ids
Socat security issue 8
Severity: Low
Affected versions
1.5.0.0 - 1.7.3.0
2.0.0-b1 - 2.0.0-b8
Not affected or corrected versions
1.0.0.0 - 1.4.3.1
1.7.3.1 and later
2.0.0-b9 and later
Workaround
Do not pass unfiltered data from untrusted sources to socat's command line
Download
The updated sources can be downloaded from:
http://www.dest-unreach.org/socat/download/socat-1.7.3.1.tar.gz
http://www.dest-unreach.org/socat/download/socat-2.0.0-b9.tar gz
Acknowledgement
Takume Akiyma found and reported this issue.
Master should be upgrade. Jethro and fido need patches just realized no CVE's assigned. Upgrade patch for master submitted. Armin, would you/Mentor be willing to backport to the stable branches? (In reply to comment #4) > Upgrade patch for master submitted. Armin, would you/Mentor be willing to > backport to the stable branches? sure One CVE was issued for these two issues: CVE-2016-2217. jethro submitted http://patches.openembedded.org/patch/114773/ master next updated. http://cgit.openembedded.org/openembedded-core/commit/?h=master-next&id=4be6104e8466e977e2ea45d068d277c089b2a9d1 changing milestone fido needs fixing. fido not affected. Affected versions are 1.7.3.0 and 2.0.0-b8. Fido is at version 1.7.2.4 |
Socat security advisory 7 - Created new 2048bit DH modulus Overview In the OpenSSL address implementation the hard coded 1024 bit DH p parameter was not prime. The effective cryptographic strength of a key exchange using these parameters was weaker than the one one could get by using a prime p. Moreover, since there is no indication of how these parameters were chosen, the existence of a trapdoor that makes possible for an eavesdropper to recover the shared secret from a key exchange that uses them cannot be ruled out. A new prime modulus p parameter has been generated by Socat developer using OpenSSL dhparam command. In addition the new parameter is 2048 bit long. Vulnerability Ids: Socat security issue 7 MSVR-1499 Severity: Unknown Affected versions 1.7.3.0 2.0.0-b8 Not affected or corrected versions 1.0.0.0 - 1.7.2.4 1.7.3.1 and later 2.0.0-b1 - 2.0.0-b7 2.0.0-b9 and later Workaround Disable DH ciphers Download The updated sources can be downloaded from: http://www.dest-unreach.org/socat/download/socat-1.7.3.1.tar.gz http://www.dest-unreach.org/socat/download/socat-2.0.0-b9.tar gz Acknowledgments Santiago Zanella-Beguelin and Microsoft Vulnerability Research (MSVR).