CVE-2021-28903
libyang: recursive call to lyxml_parse_mem() lead to crash
Overview
Description
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-674
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 9 fixes
Red Hat 1 release · 1 package
wont fix 1
libyang
| Release | Package | Fixed in |
|---|---|---|
| 8 | libyang | wont fix |
SUSE Linux Enterprise 1 release · 1 package
fixed 1
libyang-extentions
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | libyang-extentions +1 | 1.0.184-150300.3.6.1 | SUSE-SU-2022:3245-1 |
debian 4 releases · 1 package
affected 2
fixed 2
libyang
| Release | Package | Fixed in |
|---|---|---|
| 10 | libyang | affected |
| 11 | libyang | affected |
| 13 | libyang | 3.4.2+dfsg-2 |
| 14 | libyang | 3.4.2+dfsg-2 |
echo 1 release · 1 package
fixed 1
libyang
| Release | Package | Fixed in |
|---|---|---|
| libyang | 3.4.2+dfsg-2 |
ubuntu 2 releases · 1 package
affected 2
libyang
| Release | Package | Fixed in |
|---|---|---|
| 20.04-ESM | libyang | affected |
| 22.04 | libyang | affected |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2021-28903
- github.com https://github.com/CESNET/libyang/issues/1453
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-28903
- security.gentoo.org https://security.gentoo.org/glsa/202107-54
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2021-28903
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.