CVE-2021-28903
Published: 20 May 2021
A stack overflow in libyang <= v1.0.225 can cause a denial of service through function lyxml_parse_mem(). lyxml_parse_elem() function will be called recursively, which will consume stack space and lead to crash.
Notes
Author | Note |
---|---|
sbeattie | fix introduces hard recursion limit |
Priority
Status
Package | Release | Status |
---|---|---|
libyang Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
focal |
Needed
|
|
groovy |
Ignored
(end of life)
|
|
hirsute |
Ignored
(end of life)
|
|
impish |
Ignored
(end of life)
|
|
jammy |
Needed
|
|
kinetic |
Ignored
(end of life, was needed)
|
|
lunar |
Does not exist
|
|
mantic |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(1.0.240)
|
|
xenial |
Ignored
(end of standard support)
|
|
Patches: upstream: https://github.com/CESNET/libyang/commit/298b30ea4ebee137226acf9bb38678bd82704582 |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.5 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | None |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |