CVE-2019-20396
published 2020-01-22CVE-2019-20396: A segmentation fault is present in yyparse in libyang before v1.0-r1 due to a malformed pattern statement value during lys_parse_path parsing.
PriorityP425medium6.5CVSS 3.1
AVNACLPRNUIRSUCNINAH
EPSS
1.91%
77.7th percentile
A segmentation fault is present in yyparse in libyang before v1.0-r1 due to a malformed pattern statement value during lys_parse_path parsing.
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: heap-based buffer over-read in function lys_type_free() due to malformed pattern
vendor_redhat·2019-03-29·CVSS 6.5
CVE-2019-20396 [MEDIUM] CWE-125 libyang: heap-based buffer over-read in function lys_type_free() due to malformed pattern
libyang: heap-based buffer over-read in function lys_type_free() due to malformed pattern
A segmentation fault is present in yyparse in libyang before v1.0-r1 due to a malformed pattern statement value during lys_parse_path parsing.
A heap-based buffer over-read flaw occurs in libyang in function lys_type_free() due to a malformed pattern statement value. Applications that use libyang to process untrusted input yang files may be vulnerable to this flaw, possibly causing a crash or information leaks.
Debian
CVE-2019-20396: libyang - A segmentation fault is present in yyparse in libyang before v1.0-r1 due to a ma...
vendor_debian·2019·CVSS 6.5
CVE-2019-20396 [MEDIUM] CVE-2019-20396: libyang - A segmentation fault is present in yyparse in libyang before v1.0-r1 due to a ma...
A segmentation fault is present in yyparse in libyang before v1.0-r1 due to a malformed pattern statement value during lys_parse_path parsing.
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-8wpf-h467-qvv5: A segmentation fault is present in yyparse in libyang before v1
ghsa_unreviewed·2022-05-24
CVE-2019-20396 [MEDIUM] CWE-119 GHSA-8wpf-h467-qvv5: A segmentation fault is present in yyparse in libyang before v1
A segmentation fault is present in yyparse in libyang before v1.0-r1 due to a malformed pattern statement value during lys_parse_path parsing.
OSV
CVE-2019-20396: A segmentation fault is present in yyparse in libyang before v1
osv·2020-01-22·CVSS 6.5
CVE-2019-20396 [MEDIUM] CVE-2019-20396: A segmentation fault is present in yyparse in libyang before v1
A segmentation fault is present in yyparse in libyang before v1.0-r1 due to a malformed pattern statement value during lys_parse_path parsing.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-20396 libyang: heap-based buffer over-read in function lys_type_free() due to malformed pattern [fedora-all]
bugzilla·2020-02-03·CVSS 6.5
CVE-2019-20396 [MEDIUM] CVE-2019-20396 libyang: heap-based buffer over-read in function lys_type_free() due to malformed pattern [fedora-all]
CVE-2019-20396 libyang: heap-based buffer over-read in function lys_type_free() due to malformed pattern [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 i
Bugzilla
CVE-2019-20396 libyang: heap-based buffer over-read in function lys_type_free() due to malformed pattern
bugzilla·2020-01-22·CVSS 6.5
CVE-2019-20396 [MEDIUM] CVE-2019-20396 libyang: heap-based buffer over-read in function lys_type_free() due to malformed pattern
CVE-2019-20396 libyang: heap-based buffer over-read in function lys_type_free() due to malformed pattern
A heap-based buffer over-read is present in libyang up to version v1.0-r1 in function lys_type_free() due to malformed pattern statement value. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or information leaks.
Upstream issue:
https://github.com/CESNET/libyang/issues/740
Upstream fix:
https://github.com/CESNET/libyang/commit/a1f17693904ed6fecc8902c747fc50a8f20e6af8
Discussion:
Created libyang tracking bugs for this issue:
Affects: fedora-all [bug 1797550]
https://github.com/CESNET/libyang/commit/a1f17693904ed6fecc8902c747fc50a8f20e6af8https://github.com/CESNET/libyang/compare/v0.16-r3...v1.0-r1https://github.com/CESNET/libyang/issues/740https://lists.debian.org/debian-lts-announce/2023/09/msg00019.htmlhttps://github.com/CESNET/libyang/commit/a1f17693904ed6fecc8902c747fc50a8f20e6af8https://github.com/CESNET/libyang/compare/v0.16-r3...v1.0-r1https://github.com/CESNET/libyang/issues/740https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html
2020-01-22
Published