Reachable Assertion Affecting libyang1 package, versions <1.0.184-150300.3.3.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
1.42% (70th 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-SLES153-LIBYANG1-2994048
  • published27 Aug 2022
  • disclosed26 Aug 2022

Introduced: 26 Aug 2022

CVE-2021-28905  (opens in a new tab)
CWE-617  (opens in a new tab)

How to fix?

Upgrade SLES:15.3 libyang1 to version 1.0.184-150300.3.3.1 or higher.

NVD Description

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

In function lys_node_free() in libyang <= v1.0.225, it asserts that the value of node->module can't be NULL. But in some cases, node->module can be null, which triggers a reachable assertion (CWE-617).

CVSS Base Scores

version 3.1