PT-2019-5412 · Libyang+2 · Libyang+2

Michalvasko

·

Published

2019-12-06

·

Updated

2019-12-23

·

CVE-2019-19333

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions libyang versions prior to 1.0-r5
Description A stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type "bits". This issue may allow an attacker to cause a denial of service or possibly gain code execution. The vulnerability is related to a buffer overflow in memory, which can be exploited by a remote attacker.
Recommendations For versions prior to 1.0-r5, update to version 1.0-r5 or later to resolve the issue. As a temporary workaround, consider restricting the use of libyang to parse untrusted YANG files until a patch is available. Avoid using libyang to parse YANG files with a leaf of type "bits" from untrusted sources.

Fix

DoS

Stack Overflow

Memory Corruption

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2020-02870
CESA-2019_4360
CVE-2019-19333
RHSA-2019:4360
RHSA-2019_4360

Affected Products

Centos
Red Hat
Libyang