CVE-2021-28903

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-28903
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-28903.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-28903
Related
Published
2021-05-20T19:15:07Z
Modified
2024-11-12T05:50:04.736830Z
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

A stack overflow in libyang <= v1.0.225 can cause a denial of service through function lyxmlparsemem(). lyxmlparseelem() function will be called recursively, which will consume stack space and lead to 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

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

Affected versions

0.*

0.16.52-1
0.16.52-2
0.16.105-1
0.16.105-2
0.16.105-3

1.*

1.0.167-1
1.0.176-2
1.0.176-3
1.0.184-1
1.0.184-2
1.0.215-1
1.0.225-1
1.0.225-1.1~deb10u1
1.0.225-1.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/cesnet/libyang

Affected ranges

Type
GIT
Repo
https://github.com/cesnet/libyang
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected

Affected versions

debian/1.*

debian/1.0.167-1
debian/1.0.176-1
debian/1.0.176-2
debian/1.0.176-3
debian/1.0.184-1
debian/1.0.184-2
debian/1.0.215-1
debian/1.0.225-1

debian/libyang-0.*

debian/libyang-0.16.105-1
debian/libyang-0.16.105-2

v0.*

v0.11-r1
v0.11-r2
v0.12-r1
v0.12-r2
v0.13-r1
v0.13-r2
v0.14-r1
v0.15-r1
v0.16-r1
v0.16-r2
v0.16-r3

v1.*

v1.0-r1
v1.0-r2
v1.0-r3
v1.0-r4
v1.0-r5
v1.0.109
v1.0.130
v1.0.167
v1.0.176
v1.0.184
v1.0.215
v1.0.225