// For flags

CVE-2019-19333

libyang: stack-based buffer overflow in make_canonical when bits leaf type is used

Severity Score

9.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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 "bits". 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.

En todas las versiones de libyang anteriores a 1.0-r5, se detectó un desbordamiento del búfer en la región heap de la memoria en la manera en que libyang analiza los archivos YANG con una hoja de tipo "bits". Una aplicación que usa libyang para analizar archivos YANG no confiables puede ser vulnerable a este fallo, lo que permitiría a un atacante causar una denegación de servicio o posiblemente conseguir la ejecución de código.

A stack-based buffer overflow flaw was discovered in the way libyang parses YANG files with a leaf of type "bits". 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.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2019-11-27 CVE Reserved
  • 2019-12-06 CVE Published
  • 2024-08-05 CVE Updated
  • 2024-10-27 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-121: Stack-based Buffer Overflow
  • CWE-787: Out-of-bounds Write
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Cesnet
Search vendor "Cesnet"
Libyang
Search vendor "Cesnet" for product "Libyang"
0.11
Search vendor "Cesnet" for product "Libyang" and version "0.11"
r1
Affected
Cesnet
Search vendor "Cesnet"
Libyang
Search vendor "Cesnet" for product "Libyang"
0.11
Search vendor "Cesnet" for product "Libyang" and version "0.11"
r2
Affected
Cesnet
Search vendor "Cesnet"
Libyang
Search vendor "Cesnet" for product "Libyang"
0.12
Search vendor "Cesnet" for product "Libyang" and version "0.12"
r1
Affected
Cesnet
Search vendor "Cesnet"
Libyang
Search vendor "Cesnet" for product "Libyang"
0.12
Search vendor "Cesnet" for product "Libyang" and version "0.12"
r2
Affected
Cesnet
Search vendor "Cesnet"
Libyang
Search vendor "Cesnet" for product "Libyang"
0.13
Search vendor "Cesnet" for product "Libyang" and version "0.13"
r1
Affected
Cesnet
Search vendor "Cesnet"
Libyang
Search vendor "Cesnet" for product "Libyang"
0.13
Search vendor "Cesnet" for product "Libyang" and version "0.13"
r2
Affected
Cesnet
Search vendor "Cesnet"
Libyang
Search vendor "Cesnet" for product "Libyang"
0.14
Search vendor "Cesnet" for product "Libyang" and version "0.14"
r1
Affected
Cesnet
Search vendor "Cesnet"
Libyang
Search vendor "Cesnet" for product "Libyang"
0.15
Search vendor "Cesnet" for product "Libyang" and version "0.15"
r1
Affected
Cesnet
Search vendor "Cesnet"
Libyang
Search vendor "Cesnet" for product "Libyang"
0.16
Search vendor "Cesnet" for product "Libyang" and version "0.16"
r1
Affected
Cesnet
Search vendor "Cesnet"
Libyang
Search vendor "Cesnet" for product "Libyang"
0.16
Search vendor "Cesnet" for product "Libyang" and version "0.16"
r2
Affected
Cesnet
Search vendor "Cesnet"
Libyang
Search vendor "Cesnet" for product "Libyang"
0.16
Search vendor "Cesnet" for product "Libyang" and version "0.16"
r3
Affected
Cesnet
Search vendor "Cesnet"
Libyang
Search vendor "Cesnet" for product "Libyang"
1.0
Search vendor "Cesnet" for product "Libyang" and version "1.0"
r1
Affected
Cesnet
Search vendor "Cesnet"
Libyang
Search vendor "Cesnet" for product "Libyang"
1.0
Search vendor "Cesnet" for product "Libyang" and version "1.0"
r2
Affected
Cesnet
Search vendor "Cesnet"
Libyang
Search vendor "Cesnet" for product "Libyang"
1.0
Search vendor "Cesnet" for product "Libyang" and version "1.0"
r3
Affected
Cesnet
Search vendor "Cesnet"
Libyang
Search vendor "Cesnet" for product "Libyang"
1.0
Search vendor "Cesnet" for product "Libyang" and version "1.0"
r4
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux
Search vendor "Redhat" for product "Enterprise Linux"
8.0
Search vendor "Redhat" for product "Enterprise Linux" and version "8.0"
-
Affected