Skip to content
OpenAdvisories
Unscored CVE-2019-20398 EUVD-2019-10948GHSA-q259-qj8c-5r52

A NULL pointer dereference is present in libyang before v1.0-r3 in the function lys_extension_instances_free() due to a copy of unresolved …

Published Jan 22, 2020 · Updated Aug 5, 2024 · Assigned by mitre

Description

A NULL pointer dereference is present in libyang before v1.0-r3 in the function lys_extension_instances_free() due to a copy of unresolved extensions in lys_restr_dup(). Applications that use libyang to parse untrusted input yang files may 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 1.0.176-1 —
Debian 13 libyang 1.0.176-1 —
Debian 10 libyang 0.16.105+really1.0-0+deb10u1 DLA-3572-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libyang No fix yet —
ReleasePackageFixed inAdvisory
RHEL 8 libyang 1.0.184-1.el8 RHEA-2021:1906

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 libyang 1.0.184-1.el8 ALEA-2021:1906

Advisories 3

References