HIGH
libyang: NULL pointer dereference in read_yin_leaf()
Published May 20, 2021
7.5
HIGHCVSS 3.1
EPSS 1.57%
Description
In function read_yin_leaf() 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.
Affected products
No data.
No data.
Red Hat Enterprise Linux 8
libyang
Will not fix
Red Hat Enterprise Linux 9
libyang
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | libyang | Will not fix | n/a |
| Red Hat Enterprise Linux 9 | libyang | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Weaknesses (2)
References (7)
- https://access.redhat.com/security/cve/CVE-2021-28906 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1964018 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-15559 Advisory
- https://github.com/CESNET/libyang/issues/1455 x_refsource_CONFIRMExploitIssue TrackingPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2021-28906
- https://security.gentoo.org/glsa/202107-54 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2021-28906
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2021-28906 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1964018 | Issue Tracking | |
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-15559 | Advisory | |
| https://github.com/CESNET/libyang/issues/1455 | x_refsource_CONFIRMExploitIssue TrackingPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-28906 | ||
| https://security.gentoo.org/glsa/202107-54 | vendor-advisoryx_refsource_GENTOOThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2021-28906 |
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published May 20, 2021
Updated Aug 3, 2024
Reserved Mar 19, 2021
Link CVE-2021-28906
CISA Vulnrichment
No data
GitHub
No data