National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2019-20397 Detail

Current 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.

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: 8.8 HIGH
Vector:  CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
https://bugzilla.redhat.com/show_bug.cgi?id=1793928 Issue Tracking Patch Third Party Advisory
https://github.com/CESNET/libyang/commit/88bd6c548ba79bce176cd875e9b56e7e0ef4d8d4 Patch Third Party Advisory
https://github.com/CESNET/libyang/compare/v0.16-r3...v1.0-r1 Third Party Advisory
https://github.com/CESNET/libyang/issues/739 Third Party Advisory

Weakness Enumeration

CWE-ID CWE Name Source
CWE-415 Double Free NIST  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:cesnet:libyang:0.11:r1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:cesnet:libyang:0.11:r2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:cesnet:libyang:0.12:r1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:cesnet:libyang:0.12:r2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:cesnet:libyang:0.13:r1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:cesnet:libyang:0.13:r2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:cesnet:libyang:0.14:r1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:cesnet:libyang:0.15:r1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:cesnet:libyang:0.16:r1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:cesnet:libyang:0.16:r2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:cesnet:libyang:0.16:r3:*:*:*:*:*:*
     Show Matching CPE(s)


Change History

1 change record found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2019-20397
NVD Published Date:
01/22/2020
NVD Last Modified:
01/23/2020