Out-of-Bounds Affecting yaml/libyaml package, versions [,0.1.6)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
9.79% (96th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-Bounds vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-YAMLLIBYAML-2366508
  • published26 Jan 2022
  • disclosed28 Mar 2014
  • creditUnknown

Introduced: 28 Mar 2014

CVE-2014-2525  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade yaml/libyaml to version 0.1.6 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. 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.

References

CVSS Base Scores

version 3.1