CVE-2021-28903
JSON

7.5high

A stack overflow in libyang <= v1.0.225 can cause a denial of service through function lyxmlparsemem().

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
2.43% (higher than 84% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
cesnet libyangup to 1.0.225NVD

All scores

NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

What each source says

CVE List

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.

NVD (es)

Un desbordamiento de pila en libyang versiones anteriores a v1.0.225 incluyéndola, puede causar una denegación de servicio por medio de la función lyxml_parse_mem().&#xa0;La función lyxml_parse_elem() será llamada de forma recursiva, lo que consumirá espacio en la pila y conllevará a un bloqueo

References

https://github.com/CESNET/libyang/issues/1453exploit, issue-tracking, third-party-advisory
https://security.gentoo.org/glsa/202107-54third-party-advisory, vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2021-28903 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-28903 changed 2026-06-17Public domain