CVE-2019-20395: Medium severity cesnet vulnerability

Published Jan 22, 2020
·
Updated

A stack consumption issue is present in libyang before v1.0-r1 due to the self-referential union type containing leafrefs. Applications that use libyang to parse untrusted input yang files may crash.

Other sources

A stack-overflow is present in libyang up to version v1.0-r1 due to self-referential union type containing leafrefs. Applications that use libyang to parse untrusted input yang files may crash.

Upstream issue: https://github.com/CESNET/libyang/issues/724

Upstream fix: https://github.com/CESNET/libyang/commit/4e610ccd87a2ba9413819777d508f71163fcc237

Red Hat

Affected Software

12 affected componentsFixes available
redhat/libyang<1.0
1.0
CESNET libyang=0.11-r1
CESNET libyang=0.11-r2
CESNET libyang=0.12-r1
CESNET libyang=0.12-r2
CESNET libyang=0.13-r1
CESNET libyang=0.13-r2
CESNET libyang=0.14-r1
CESNET libyang=0.15-r1
CESNET libyang=0.16-r1
CESNET libyang=0.16-r2
CESNET libyang=0.16-r3

Event History

Jan 22, 2020
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2019-20395?

CVE-2019-20395 has a high severity level due to the potential for a stack overflow leading to application crashes.

2

How do I fix CVE-2019-20395?

To fix CVE-2019-20395, update libyang to version 1.0-r1 or later.

3

Which versions of libyang are affected by CVE-2019-20395?

CVE-2019-20395 affects libyang versions prior to 1.0-r1, including various 0.x and 0.1 versions.

4

What type of issue is CVE-2019-20395?

CVE-2019-20395 is a stack consumption issue that can cause crashes due to self-referential union types with leafrefs.

5

Who is impacted by CVE-2019-20395?

Applications that use libyang to parse untrusted YANG files are impacted by CVE-2019-20395.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203