CVE-2019-20398
published 2020-01-22CVE-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…
PriorityP427medium6.5CVSS 3.1
AVNACLPRNUIRSUCNINAH
EPSS
1.82%
76.3th percentile
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
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| cesnet | libyang | — | — |
| cesnet | libyang | — | — |
| cesnet | libyang | — | — |
| cesnet | libyang | — | — |
| cesnet | libyang | — | — |
| cesnet | libyang | — | — |
| cesnet | libyang | — | — |
| cesnet | libyang | >= 0 < 1.0.176-1 | 1.0.176-1 |
| cesnet | libyang | >= 0 < 1.0.176-1 | 1.0.176-1 |
| cesnet | libyang | >= 0 < 1.0.176-1 | 1.0.176-1 |
| debian | libyang | < libyang 1.0.176-1 (bullseye) | libyang 1.0.176-1 (bullseye) |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv6.5MEDIUM
vendor_debian6.5MEDIUM
vendor_redhat6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
libyang: NULL pointer dereference in function lys_extension_instances_free()
vendor_redhat·2019-04-29·CVSS 6.5
CVE-2019-20398 [MEDIUM] CWE-476 libyang: NULL pointer dereference in function lys_extension_instances_free()
libyang: NULL pointer dereference in function lys_extension_instances_free()
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.
A NULL pointer dereference flaw occurs in libyang in the function lys_extension_instances_free() due to a copy of unresolved extensions in lys_restr_dup(). Applications that use libyang to process untrusted input YANG files may crash.
Debian
CVE-2019-20398: libyang - A NULL pointer dereference is present in libyang before v1.0-r3 in the function ...
vendor_debian·2019·CVSS 6.5
CVE-2019-20398 [MEDIUM] CVE-2019-20398: libyang - A NULL pointer dereference is present in libyang before v1.0-r3 in the function ...
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.
Scope: local
bullseye: resolved (fixed in 1.0.176-1)
forky: resolved (fixed in 1.0.176-1)
sid: resolved (fixed in 1.0.176-1)
trixie: resolved (fixed in 1.0.176-1)
GHSA
GHSA-q259-qj8c-5r52: A NULL pointer dereference is present in libyang before v1
ghsa_unreviewed·2022-05-24
CVE-2019-20398 [MEDIUM] CWE-476 GHSA-q259-qj8c-5r52: A NULL pointer dereference is present in libyang before v1
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.
OSV
CVE-2019-20398: A NULL pointer dereference is present in libyang before v1
osv·2020-01-22·CVSS 6.5
CVE-2019-20398 [MEDIUM] CVE-2019-20398: A NULL pointer dereference is present in libyang before v1
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-20398 libyang: NULL pointer dereference in function lys_extension_instances_free() [fedora-all]
bugzilla·2020-02-03·CVSS 6.5
CVE-2019-20398 [MEDIUM] CVE-2019-20398 libyang: NULL pointer dereference in function lys_extension_instances_free() [fedora-all]
CVE-2019-20398 libyang: NULL pointer dereference in function lys_extension_instances_free() [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects
Bugzilla
CVE-2019-20398 libyang: NULL pointer dereference in function lys_extension_instances_free()
bugzilla·2020-01-22·CVSS 6.5
CVE-2019-20398 [MEDIUM] CVE-2019-20398 libyang: NULL pointer dereference in function lys_extension_instances_free()
CVE-2019-20398 libyang: NULL pointer dereference in function lys_extension_instances_free()
A NULL pointer dereference is present in libyang up to version v1.0-r3 in function lys_extension_instances_free() due to copy of unresolved extensions in lys_restr_dup(). Applications that use libyang to parse untrusted input yang files may crash.
Upstream fix:
https://github.com/CESNET/libyang/commit/7852b272ef77f8098c35deea6c6f09cb78176f08
Upstream issue:
https://github.com/CESNET/libyang/issues/773
Discussion:
Created libyang tracking bugs for this issue:
Affects: fedora-all [bug 1797552]
https://bugzilla.redhat.com/show_bug.cgi?id=1793935https://github.com/CESNET/libyang/commit/7852b272ef77f8098c35deea6c6f09cb78176f08https://github.com/CESNET/libyang/compare/v1.0-r2...v1.0-r3https://github.com/CESNET/libyang/issues/773https://lists.debian.org/debian-lts-announce/2023/09/msg00019.htmlhttps://bugzilla.redhat.com/show_bug.cgi?id=1793935https://github.com/CESNET/libyang/commit/7852b272ef77f8098c35deea6c6f09cb78176f08https://github.com/CESNET/libyang/compare/v1.0-r2...v1.0-r3https://github.com/CESNET/libyang/issues/773https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html
2020-01-22
Published