DEBIAN-CVE-2021-28902

Source
https://security-tracker.debian.org/tracker/CVE-2021-28902
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-28902.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2021-28902
Upstream
Published
2021-05-20T19:15:07.590Z
Modified
2025-11-20T10:14:59.338031Z
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 readyincontainer() 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

Debian:11 / libyang

Package

Name
libyang
Purl
pkg:deb/debian/libyang?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.0.225-1.1

3.*

3.4.2+dfsg-2
3.7.8-1
3.7.8-2
3.7.8-3
3.7.8-4
3.7.8-5
3.12.2-1
3.13.5-1
3.13.5-2
3.13.6-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / libyang

Package

Name
libyang
Purl
pkg:deb/debian/libyang?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.2+dfsg-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / libyang

Package

Name
libyang
Purl
pkg:deb/debian/libyang?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.2+dfsg-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}