CVE-2019-19334
published 2019-12-06CVE-2019-19334: In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type "identityref"…
PriorityP350critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
3.87%
89.0th percentile
In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type "identityref". An application that uses libyang to parse untrusted YANG files may be vulnerable to this flaw, which would allow an attacker to cause a denial of service or possibly gain code execution.
Affected
14 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| cesnet | libyang | — | — |
| cesnet | libyang | — | — |
| cesnet | libyang | — | — |
| cesnet | libyang | — | — |
| cesnet | libyang | — | — |
| cesnet | libyang | — | — |
| cesnet | libyang | — | — |
| cesnet | libyang | >= 0 < 0.16.105-2 | 0.16.105-2 |
| cesnet | libyang | >= 0 < 0.16.105-2 | 0.16.105-2 |
| cesnet | libyang | >= 0 < 0.16.105-2 | 0.16.105-2 |
| debian | libyang | < libyang 0.16.105-2 (bullseye) | libyang 0.16.105-2 (bullseye) |
| fedoraproject | fedora | — | — |
| red_hat | libyang | — | — |
| redhat | enterprise_linux | — | — |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv3.08.1HIGHCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_redhat9.8CRITICAL
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-based buffer overflow in make_canonical when identityref leaf type is used
vendor_redhat·2019-12-05·CVSS 9.8
CVE-2019-19334 [CRITICAL] CWE-121 libyang: stack-based buffer overflow in make_canonical when identityref leaf type is used
libyang: stack-based buffer overflow in make_canonical when identityref leaf type is used
In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type "identityref". An application that uses libyang to parse untrusted YANG files may be vulnerable to this flaw, which would allow an attacker to cause a denial of service or possibly gain code execution.
A stack-based buffer overflow flaw was discovered in the way libyang parses YANG files with a leaf of type "identityref". An application that uses libyang to parse untrusted YANG files may be vulnerable to this flaw, which would allow an attacker to cause a denial of service or execute code.
Debian
CVE-2019-19334: libyang - In all versions of libyang before 1.0-r5, a stack-based buffer overflow was disc...
vendor_debian·2019·CVSS 9.8
CVE-2019-19334 [CRITICAL] CVE-2019-19334: libyang - In all versions of libyang before 1.0-r5, a stack-based buffer overflow was disc...
In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type "identityref". An application that uses libyang to parse untrusted YANG files may be vulnerable to this flaw, which would allow an attacker to cause a denial of service or possibly gain code execution.
Scope: local
bullseye: resolved (fixed in 0.16.105-2)
forky: resolved (fixed in 0.16.105-2)
sid: resolved (fixed in 0.16.105-2)
trixie: resolved (fixed in 0.16.105-2)
GHSA
GHSA-936c-h6q8-79c4: In all versions of libyang before 1
ghsa_unreviewed·2022-05-24
CVE-2019-19334 [CRITICAL] CWE-121 GHSA-936c-h6q8-79c4: In all versions of libyang before 1
In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type "identityref". An application that uses libyang to parse untrusted YANG files may be vulnerable to this flaw, which would allow an attacker to cause a denial of service or possibly gain code execution.
OSV
CVE-2019-19334: In all versions of libyang before 1
osv·2019-12-06·CVSS 9.8
CVE-2019-19334 [CRITICAL] CVE-2019-19334: In all versions of libyang before 1
In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type "identityref". An application that uses libyang to parse untrusted YANG files may be vulnerable to this flaw, which would allow an attacker to cause a denial of service or possibly gain code execution.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-19334 libyang: stack-based buffer overflow in make_canonical when identityref leaf type is used [fedora-all]
bugzilla·2019-12-06·CVSS 9.8
CVE-2019-19334 [CRITICAL] CVE-2019-19334 libyang: stack-based buffer overflow in make_canonical when identityref leaf type is used [fedora-all]
CVE-2019-19334 libyang: stack-based buffer overflow in make_canonical when identityref leaf type is used [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-19334 libyang: stack-based buffer overflow in make_canonical when identityref leaf type is used
bugzilla·2019-12-04·CVSS 9.8
CVE-2019-19334 [CRITICAL] CVE-2019-19334 libyang: stack-based buffer overflow in make_canonical when identityref leaf type is used
CVE-2019-19334 libyang: stack-based buffer overflow in make_canonical when identityref leaf type is used
libyang up to version 1 release 4 has a stack-based buffer overflow in function make_canonical() in parser.c, when dealing with "identityref" types with a name longer than 511 bytes. An application that uses libyang to validate untrusted YANG files could be vulnerable to this flaw, which could be used by an attacker to cause a denial of service or possibly gain code execution.
Discussion:
Acknowledgments:
Name: Riccardo Schirone (Red Hat Product Security)
---
Upstream fix:
https://github.com/CESNET/libyang/commit/6980afae2ff9fcd6d67508b0a3f694d75fd059d6
---
An application that parses untrusted YANG files could be vulnerable to this flaw. To trigger this flaw, a YANG module shoul
https://access.redhat.com/errata/RHSA-2019:4360https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-19334https://github.com/CESNET/libyang/commit/6980afae2ff9fcd6d67508b0a3f694d75fd059d6https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PETB6TVMFV5KUD4IKVP2JPLBCYHUGSAJ/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RL54JMS7XW7PI6JC4BFSNNLSX5AINQUL/https://access.redhat.com/errata/RHSA-2019:4360https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-19334https://github.com/CESNET/libyang/commit/6980afae2ff9fcd6d67508b0a3f694d75fd059d6https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PETB6TVMFV5KUD4IKVP2JPLBCYHUGSAJ/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RL54JMS7XW7PI6JC4BFSNNLSX5AINQUL/
2019-12-06
Published