Buffer overflow in yaml-cpp - CVE-2017-5950

 

Buffer overflow in yaml-cpp - CVE-2017-5950

Published: April 3, 2017 / Updated: August 8, 2020


Vulnerability identifier: #VU39294
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-5950
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to perform a denial of service (DoS) attack.

The SingleDocParser::HandleNode function in yaml-cpp (aka LibYaml-C++) 0.5.3 allows remote attackers to cause a denial of service (stack consumption and application crash) via a crafted YAML file.


Affected software

yaml-cpp
Fedora
yaml-cpp
fawkes
librime
calamares
mongodb
pdns
IBM Security Verify Access

How to mitigate CVE-2017-5950

Install update from vendor's website.

yaml-cpp - addressed in versions 0.6.1-4.fc27, 0.6.1-4.fc28, 0.6.1-4.fc29
fawkes - update to 1.0.1-9.fc27.1
librime - update to 1.2-18.fc27.1
calamares - update to 3.1.8-2.fc27.1
mongodb - update to 3.4.11-4.fc27
pdns - update to 4.1.4-1.fc27.1
IBM Security Verify Access - update to 10.0.7.0

External References

Related Security Bulletins