Name | CVE-2021-28902 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 989060 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libyang (PTS) | bullseye | 1.0.225-1.1 | vulnerable |
| sid, trixie | 3.4.2+dfsg-2 | fixed |
libyang2 (PTS) | bookworm | 2.1.30-2 | fixed |
| sid, trixie | 2.1.148-0.2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
libyang | source | (unstable) | 3.4.2+dfsg-2 | | | 989060 |
libyang2 | source | (unstable) | (not affected) | | | |
Notes
- libyang2 <not-affected> (Fixed before initial upload)
[bullseye] - libyang <no-dsa> (Minor issue)
[buster] - libyang <no-dsa> (Minor issue)
https://github.com/CESNET/libyang/issues/1454
https://github.com/CESNET/libyang/commit/a3917d95d516e3de267d3cfa5d4d3715a90e8777 (v1.0.240)
src:libyang was removed and later re-introduced as src:libyang with version 3