Pyyaml LibYAML up to 0.1.5 Parser yaml_parser_scan_uri_escapes memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.0 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Pyyaml LibYAML up to 0.1.5. It has been classified as critical. Affected is the function yaml_parser_scan_uri_escapes of the component Parser. Performing a manipulation results in memory corruption.
This vulnerability was named CVE-2014-2525. There is no available exploit.
Upgrading the affected component is recommended.
Details
A vulnerability was found in Pyyaml LibYAML up to 0.1.5. It has been classified as critical. This affects the function yaml_parser_scan_uri_escapes of the component Parser. The manipulation with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
Heap-based buffer overflow in the yaml_parser_scan_uri_escapes function in LibYAML before 0.1.6 allows context-dependent attackers to execute arbitrary code via a long sequence of percent-encoded characters in a URI in a YAML file.
The weakness was presented 03/28/2014 by Security Team with Google Security Team as confirmed advisory (CERT.org). The advisory is shared at ocert.org. This vulnerability is uniquely identified as CVE-2014-2525 since 03/17/2014. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details are known, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 74171 (GLSA-201405-27 : LibYAML: Arbitrary code execution), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Gentoo Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 350407 (Amazon Linux Security Advisory for perl-YAML-LibYAML: ALAS-2014-324).
Upgrading to version 0.1.2 eliminates this vulnerability. A possible mitigation has been published 2 months after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (74171), SecurityFocus (BID 66478†) and Secunia (SA57836†). See VDB-12693, VDB-67663 and VDB-65652 for similar entries. If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Vendor
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 7.0
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 74171
Nessus Name: GLSA-201405-27 : LibYAML: Arbitrary code execution
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍
OpenVAS ID: 10994
OpenVAS Name: Gentoo Linux Local Check: https://security.gentoo.org/glsa/201405-27
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: LibYAML 0.1.2
Timeline
03/17/2014 🔍03/26/2014 🔍
03/28/2014 🔍
03/28/2014 🔍
04/15/2014 🔍
05/23/2014 🔍
05/25/2014 🔍
03/24/2015 🔍
05/09/2026 🔍
Sources
Advisory: USN-2160-1Researcher: Security Team
Organization: Google Security Team
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2014-2525 (🔍)
GCVE (CVE): GCVE-0-2014-2525
GCVE (VulDB): GCVE-100-66813
OVAL: 🔍
IAVM: 🔍
SecurityFocus: 66478 - LibYAML 'yaml_parser_scan_uri_escapes()' Function Remote Heap Based Buffer Overflow Vulnerability
Secunia: 57836 - Chef Multiple Vulnerabilities, Moderately Critical
See also: 🔍
Entry
Created: 03/24/2015 15:54Updated: 05/09/2026 05:40
Changes: 03/24/2015 15:54 (77), 05/02/2019 18:53 (6), 02/06/2022 12:23 (3), 02/06/2022 12:31 (1), 05/09/2026 05:40 (15)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.