Out-of-Bounds Affecting libyaml-debuginfo package, versions <0:0.1.4-6.5.amzn1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
9.01% (93rd 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 IDSNYK-AMZN201803-LIBYAMLDEBUGINFO-1672261
  • published27 Sept 2021
  • disclosed6 Feb 2014

Introduced: 6 Feb 2014

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

How to fix?

Upgrade Amazon-Linux:2018.03 libyaml-debuginfo to version 0:0.1.4-6.5.amzn1 or higher.
This issue was patched in ALAS-2014-291.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libyaml-debuginfo package and not the libyaml-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

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