Skip to content
OpenAdvisories
Unscored CVE-2021-28903 EUVD-2021-15556GHSA-vr34-263x-7q3r

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

Published May 20, 2021 · Updated Aug 3, 2024 · 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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libyang 3.4.2+dfsg-2 —
Debian 13 libyang 3.4.2+dfsg-2 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS libyang No fix yet —
Ubuntu 20.04 LTS libyang No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP4 libyang 1.0.184-150300.3.6.1 SUSE-SU-2022:3245-1
SLES 15 SP3 libyang 1.0.184-150300.3.6.1 SUSE-SU-2022:3245-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.4 libyang 1.0.184-150300.3.6.1 SUSE-SU-2022:3245-1
openSUSE Leap 15.3 libyang 1.0.184-150300.3.6.1 SUSE-SU-2022:3245-1
ReleasePackageFixed inAdvisory
Alpine v3.14 libyang 1.0.215-r1 —
Alpine v3.13 libyang 1.0.184-r1 —

Advisories 1

References