Out-of-Bounds Affecting jbeder/yaml-cpp package, versions [,0.7.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.53% (85th 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-JBEDERYAMLCPP-2364726
  • published26 Jan 2022
  • disclosed28 Dec 2018
  • creditUnknown

Introduced: 28 Dec 2018

CVE-2018-20573  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade jbeder/yaml-cpp to version 0.7.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. The Scanner::EnsureTokensInQueue function in yaml-cpp (aka LibYaml-C++) 0.6.2 allows remote attackers to cause a denial of service (stack consumption and application crash) via a crafted YAML file.

References

CVSS Base Scores

version 3.1