National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2019-19334 Detail

Current Description

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.

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

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

Nist CVSS score does not match with CNA score
CNA:  Red Hat, Inc.
Base Score: 8.1 HIGH
Vector:  CVSS:3.0/AV:N/AC:H/PR:N/UI:N/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://access.redhat.com/errata/RHSA-2019:4360
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-19334 Issue Tracking Patch Third Party Advisory
https://github.com/CESNET/libyang/commit/6980afae2ff9fcd6d67508b0a3f694d75fd059d6 Patch Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PETB6TVMFV5KUD4IKVP2JPLBCYHUGSAJ/ Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RL54JMS7XW7PI6JC4BFSNNLSX5AINQUL/

Weakness Enumeration

CWE-ID CWE Name Source
CWE-787 Out-of-bounds Write NIST  
CWE-121 Stack-based Buffer Overflow Red Hat, Inc.  

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)
 cpe:2.3:a:cesnet:libyang:1.0:r1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:cesnet:libyang:1.0:r2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:cesnet:libyang:1.0:r3:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:cesnet:libyang:1.0:r4:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 2 ( hide )
 cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 3 ( hide )
 cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
     Show Matching CPE(s)


Change History

4 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2019-19334
NVD Published Date:
12/06/2019
NVD Last Modified:
12/18/2019