Heap-based Buffer Overflow Affecting libyaml package, versions *


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
8.06% (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 Learn

Learn about Heap-based Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS6-LIBYAML-3261832
  • published1 Nov 2021
  • disclosed27 Jan 2014

Introduced: 27 Jan 2014

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

How to fix?

There is no fixed version for Centos:6 libyaml.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libyaml package and not the libyaml package as distributed by Centos. See How to fix? for Centos:6 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