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....
MediumCVSS 6.5
EPSS 1.8%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libyang(Debian:13) | < 1.0.176-1 | 1.0.176-1 |
| debian/libyang(Debian:14) | < 1.0.176-1 | 1.0.176-1 |
| cesnet libyang | = 0.11-r1 | No fix listed |
| cesnet libyang | = 0.11-r2 | No fix listed |
| cesnet libyang | = 0.12-r1 | No fix listed |
| cesnet libyang | = 0.12-r2 | No fix listed |
| cesnet libyang | = 0.13-r1 | No fix listed |
| cesnet libyang | = 0.13-r2 | No fix listed |
| cesnet libyang | = 0.14-r1 | No fix listed |
| cesnet libyang | = 0.15-r1 | No fix listed |
| cesnet libyang | = 0.16-r1 | No fix listed |
| cesnet libyang | = 0.16-r2 | No fix listed |
| cesnet libyang | = 0.16-r3 | No fix listed |
| cesnet libyang | = 1.0-r1 | No fix listed |
| cesnet libyang | = 1.0-r2 | No fix listed |
| ubuntu/libyang(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/libyang(Ubuntu:20.04) | = 0.16.105-1 | No fix listed |
| ubuntu/libyang(Ubuntu:20.04) | = 0.16.105-2 | No fix listed |
| ubuntu/libyang(Ubuntu:20.04) | = 0.16.105-3 | No fix listed |
| ubuntu/libyang(Ubuntu:20.04) | = 0.16.105-3build1 | No fix listed |
References
- Debian Security Tracker CVE-2019-20398 vendor-advisory
- bugzilla.redhat.com issue-tracking patch third-party-advisory
- github.com issue-tracking patch
- github.com issue-tracking third-party-advisory
- github.com exploit issue-tracking third-party-advisory
- [debian-lts-announce] 20230919 [SECURITY] [DLA 3572-1] libyang security update mailing-list
- ubuntu.com issue-tracking
- www.cve.org issue-tracking