ALPINE-CVE-2021-28906

Source
https://security.alpinelinux.org/vuln/CVE-2021-28906
Import Source
https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-28906.json
JSON Data
https://api.osv.dev/v1/vulns/ALPINE-CVE-2021-28906
Upstream
Published
2021-05-20T19:15:07Z
Modified
2026-11-03T06:32:27Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Alpine:v3.13 / libyang

Package

Name
libyang
Purl
pkg:apk/alpine/libyang?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.0.184-r1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-28906.json"

Alpine:v3.14 / libyang

Package

Name
libyang
Purl
pkg:apk/alpine/libyang?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.0.215-r1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-28906.json"