CVE-2019-20397
Last modified
CVE-2019-20397 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. A double-free is present in libyang before v1.0-r1 in the function yyparse() when an organization field is not terminated. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or potentially code execution.. EPSS estimates a 2.49% chance of exploitation in the next 30 days.
Description
A double-free is present in libyang before v1.0-r1 in the function yyparse() when an organization field is not terminated. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or potentially code execution.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Cesnet | Libyang | 0.11 | R1 |
| Cesnet | Libyang | 0.12 | R1 |
| Cesnet | Libyang | 0.13 | R1 |
| Cesnet | Libyang | 0.14 | R1 |
| Cesnet | Libyang | 0.15 | R1 |
| Cesnet | Libyang | 0.16 | R1 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1793928Issue Tracking, Patch, Third Party Advisory
- https://github.com/CESNET/libyang/commit/88bd6c548ba79bce176cd875e9b56e7e0ef4d8d4Patch, Third Party Advisory
- https://github.com/CESNET/libyang/compare/v0.16-r3...v1.0-r1Third Party Advisory
- https://github.com/CESNET/libyang/issues/739Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1793928Issue Tracking, Patch, Third Party Advisory
- https://github.com/CESNET/libyang/commit/88bd6c548ba79bce176cd875e9b56e7e0ef4d8d4Patch, Third Party Advisory
- https://github.com/CESNET/libyang/compare/v0.16-r3...v1.0-r1Third Party Advisory
- https://github.com/CESNET/libyang/issues/739Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-20397?
How severe is CVE-2019-20397?
How do I fix CVE-2019-20397?
Are you affected by CVE-2019-20397?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
