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


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
7.39% (94th 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-2366510
  • published26 Jan 2022
  • disclosed6 Feb 2014
  • creditUnknown

Introduced: 6 Feb 2014

CVE-2013-6393  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade yaml/libyaml to version 0.1.5 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. The yaml_parser_scan_tag_uri function in scanner.c in LibYAML before 0.1.5 performs an incorrect cast, which allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via crafted tags in a YAML document, which triggers a heap-based buffer overflow.

CVSS Base Scores

version 3.1