Out-of-Bounds Affecting libyang package, versions <0:1.0.184-1.el8


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.22% (61st 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-1978241
  • published26 Jul 2021
  • disclosed26 Apr 2019

Introduced: 26 Apr 2019

CVE-2019-20391  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade Centos:8 libyang to version 0:1.0.184-1.el8 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.

An invalid memory access flaw is present in libyang before v1.0-r3 in the function resolve_feature_value() when an if-feature statement is used inside a bit. Applications that use libyang to parse untrusted input yang files may crash.

CVSS Scores

version 3.1