CVE-2019-20392 Null dereference in n/a

Medium 6.5 Published Updated

An attacker can cause a denial of service by providing a crafted YANG file to applications using the libyang library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2019-20392?

CVE-2019-20392 is a medium-severity vulnerability in n/a, published on 22 Jan 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

An invalid memory access flaw is present in libyang before v1.0-r1 in the function resolve_feature_value() when an if-feature statement is used inside a list key node, and the feature used is not defined. Applications that use libyang to parse untrusted input yang files may crash.

Weakness: CWE-119

Which versions are affected by CVE-2019-20392?

It affects 1 product.

Products include Cesnet Libyang.

How do I fix CVE-2019-20392?

Upgrade to a fixed version.

Is CVE-2019-20392 being exploited?

There is no known exploitation of CVE-2019-20392 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2019-20392, GHSA-5xx9-wg6x-hj24, UBUNTU-CVE-2019-20392.

Is CVE-2019-20392 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free