Stack-based Buffer Overflow Affecting libyang package, versions <0:0.16.105-3.el8_1.2


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.39% (74th 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-CENTOS8-LIBYANG-2019485
  • published26 Jul 2021
  • disclosed5 Dec 2019

Introduced: 5 Dec 2019

CVE-2019-19334  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade Centos:8 libyang to version 0:0.16.105-3.el8_1.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libyang package and not the libyang package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type "identityref". An application that uses libyang to parse untrusted YANG files may be vulnerable to this flaw, which would allow an attacker to cause a denial of service or possibly gain code execution.

CVSS Scores

version 3.1