CVE-2021-28906 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 t...
HighCVSS 7.5
EPSS 1.6%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libyang(Debian:13) | < 3.4.2+dfsg-2 | 3.4.2+dfsg-2 |
| debian/libyang(Debian:14) | < 3.4.2+dfsg-2 | 3.4.2+dfsg-2 |
| ubuntu/libyang(Ubuntu:22.04) | All versions | No fix listed |
| cesnet libyang | <= 1.0.225 | No fix listed |
| alpine/libyang(Alpine:v3.13) | < 1.0.184-r1 | 1.0.184-r1 |
| alpine/libyang(Alpine:v3.14) | < 1.0.215-r1 | 1.0.215-r1 |
References
- Debian Security Tracker CVE-2021-28906 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- github.com exploit issue-tracking patch third-party-advisory
- GLSA-202107-54 third-party-advisory vendor-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking