6.5
MEDIUM CVSS 3.1
CVE-2019-20391
Libyang Invalid Memory Access Vulnerability (Buffer Overflow)
Description

An invalid memory access flaw is present in libyang before v1.0-r3 in the function resolve_feature_value() when an if-feature statement is used inside a bit. Applications that use libyang to parse untrusted input yang files may crash.

INFO

Published Date :

Jan. 22, 2020, 10:15 p.m.

Last Modified :

Nov. 21, 2024, 4:38 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2019-20391 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Cesnet libyang
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.1 MEDIUM [email protected]
Solution
This information is provided by the 3rd party feeds.
  • Upgrade the libyang-cpp-dev packages.
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2019-20391 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2019-20391 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2019-20391 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=1793934
    Added Reference https://github.com/CESNET/libyang/commit/bdb596ddc07596fa212f231135b87d0b9178f6f8
    Added Reference https://github.com/CESNET/libyang/compare/v1.0-r2...v1.0-r3
    Added Reference https://github.com/CESNET/libyang/issues/772
    Added Reference https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Sep. 19, 2023

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html [No Types Assigned]
  • Initial Analysis by [email protected]

    Jan. 23, 2020

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:N/I:N/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1793934 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1793934 Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type https://github.com/CESNET/libyang/commit/bdb596ddc07596fa212f231135b87d0b9178f6f8 No Types Assigned https://github.com/CESNET/libyang/commit/bdb596ddc07596fa212f231135b87d0b9178f6f8 Patch, Third Party Advisory
    Changed Reference Type https://github.com/CESNET/libyang/compare/v1.0-r2...v1.0-r3 No Types Assigned https://github.com/CESNET/libyang/compare/v1.0-r2...v1.0-r3 Third Party Advisory
    Changed Reference Type https://github.com/CESNET/libyang/issues/772 No Types Assigned https://github.com/CESNET/libyang/issues/772 Exploit, Third Party Advisory
    Added CWE NIST CWE-119
    Added CPE Configuration OR *cpe:2.3:a:cesnet:libyang:0.11:r1:*:*:*:*:*:* *cpe:2.3:a:cesnet:libyang:0.11:r2:*:*:*:*:*:* *cpe:2.3:a:cesnet:libyang:0.12:r1:*:*:*:*:*:* *cpe:2.3:a:cesnet:libyang:0.12:r2:*:*:*:*:*:* *cpe:2.3:a:cesnet:libyang:0.13:r1:*:*:*:*:*:* *cpe:2.3:a:cesnet:libyang:0.13:r2:*:*:*:*:*:* *cpe:2.3:a:cesnet:libyang:0.14:r1:*:*:*:*:*:* *cpe:2.3:a:cesnet:libyang:0.15:r1:*:*:*:*:*:* *cpe:2.3:a:cesnet:libyang:0.16:r1:*:*:*:*:*:* *cpe:2.3:a:cesnet:libyang:0.16:r2:*:*:*:*:*:* *cpe:2.3:a:cesnet:libyang:0.16:r3:*:*:*:*:*:* *cpe:2.3:a:cesnet:libyang:1.0:r1:*:*:*:*:*:* *cpe:2.3:a:cesnet:libyang:1.0:r2:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 6.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 4.3
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.20 }} 0.05%

score

0.42606

percentile