CVE-2019-20395
published 2020-01-22CVE-2019-20395: 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…
PriorityP429medium6.5CVSS 3.1
AVNACLPRNUIRSUCNINAH
EPSS
1.84%
76.7th percentile
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.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| 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: stack-overflow when parsing yang files with self-referential union types
vendor_redhat·2019-03-08·CVSS 6.5
CVE-2019-20395 [MEDIUM] CWE-674 libyang: stack-overflow when parsing yang files with self-referential union types
libyang: stack-overflow when parsing yang files with self-referential union types
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.
A stack-overflow flaw was found in libyang due to a self-referential union type containing leafrefs. Applications that use libyang to process untrusted input YANG files may crash while processing malformed files.
Debian
CVE-2019-20395: libyang - A stack consumption issue is present in libyang before v1.0-r1 due to the self-r...
vendor_debian·2019·CVSS 6.5
CVE-2019-20395 [MEDIUM] CVE-2019-20395: libyang - A stack consumption issue is present in libyang before v1.0-r1 due to the self-r...
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.
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-3ffh-3h59-484g: A stack consumption issue is present in libyang before v1
ghsa_unreviewed·2022-05-24
CVE-2019-20395 [MEDIUM] CWE-674 GHSA-3ffh-3h59-484g: A stack consumption issue is present in libyang before v1
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.
OSV
CVE-2019-20395: A stack consumption issue is present in libyang before v1
osv·2020-01-22·CVSS 6.5
CVE-2019-20395 [MEDIUM] CVE-2019-20395: A stack consumption issue is present in libyang before v1
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-20395 libyang: stack-overflow when parsing yang files with self-referential union types [fedora-all]
bugzilla·2020-02-03·CVSS 6.5
CVE-2019-20395 [MEDIUM] CVE-2019-20395 libyang: stack-overflow when parsing yang files with self-referential union types [fedora-all]
CVE-2019-20395 libyang: stack-overflow when parsing yang files with self-referential union types [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 aff
Bugzilla
CVE-2019-20395 libyang: stack-overflow when parsing yang files with self-referential union types
bugzilla·2020-01-22·CVSS 6.5
CVE-2019-20395 [MEDIUM] CVE-2019-20395 libyang: stack-overflow when parsing yang files with self-referential union types
CVE-2019-20395 libyang: stack-overflow when parsing yang files with self-referential union types
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
Discussion:
Created libyang tracking bugs for this issue:
Affects: fedora-all [bug 1797548]
https://bugzilla.redhat.com/show_bug.cgi?id=1793924https://github.com/CESNET/libyang/commit/4e610ccd87a2ba9413819777d508f71163fcc237https://github.com/CESNET/libyang/compare/v0.16-r3...v1.0-r1https://github.com/CESNET/libyang/issues/724https://lists.debian.org/debian-lts-announce/2023/09/msg00019.htmlhttps://bugzilla.redhat.com/show_bug.cgi?id=1793924https://github.com/CESNET/libyang/commit/4e610ccd87a2ba9413819777d508f71163fcc237https://github.com/CESNET/libyang/compare/v0.16-r3...v1.0-r1https://github.com/CESNET/libyang/issues/724https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html
2020-01-22
Published