CVE-2019-20398

MEDIUMCVSS 6.5/10EPSS 1.82%

Last modified

CVE-2019-20398 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.. EPSS estimates a 1.82% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
6.5/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

EPSS Probability
1.82%

76.0th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersionsUpdate
CesnetLibyang0.11R1
CesnetLibyang0.12R1
CesnetLibyang0.13R1
CesnetLibyang0.14R1
CesnetLibyang0.15R1
CesnetLibyang0.16R1
CesnetLibyang1.0R1

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2019-20398?
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.
How severe is CVE-2019-20398?
CVE-2019-20398 has a CVSS score of 6.5/10 (MEDIUM severity). The EPSS model estimates a 1.82% probability of exploitation in the next 30 days.
How do I fix CVE-2019-20398?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2019-20398?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST