NULL Pointer Dereference The advisory has been revoked - it doesn't affect any version of package libyang-debugsource  (opens in a new tab)


Threat Intelligence

EPSS
1.56% (72nd 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-RHEL8-LIBYANGDEBUGSOURCE-1356210
  • published26 Jul 2021
  • disclosed8 Mar 2021

Introduced: 8 Mar 2021

CVE-2021-28902  (opens in a new tab)
CWE-476  (opens in a new tab)

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:8.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libyang-debugsource package and not the libyang-debugsource package as distributed by RHEL.

In function read_yin_container() in libyang <= v1.0.225, it doesn't check whether the value of retval->ext[r] is NULL. In some cases, it can be NULL, which leads to the operation of retval->ext[r]->flags that results in a crash.