CVE-2019-20392: libyang - Null Pointer Dereference
- Cve: CVE-2019-20392
- Name: libyang - Null Pointer Dereference
- Description: An invalid memory access flaw is present in libyang before v1.0-r1 in the function resolve_feature_value() when an if-feature statement is used inside a list key node, and the feature used is not defined. Applications that use libyang to parse untrusted input yang files may crash.
- Impact: Applications may crash or become unstable when parsing maliciously crafted untrusted yang files.
- Remediation: Update to version v1.0-r1 or later.
- Vulnerability type: null_pointer_dereference
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Epss score: 0.01876
- Epss percentile: 0.79952
- Assignee: [email protected]
- Published at: 2020-01-22T22:15:10Z
- Age in days: 2498
- Modified at: 2026-06-17T02:30:21Z
- Patch available: yes
- Public exploits total: 1
- References total: 5
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-20392
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/CESNET/libyang/issues/723 | nvd | 2020-01-22 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=1793922 | Issue Tracking, Patch, Third Party Advisory |
| https://github.com/CESNET/libyang/commit/32fb4993bc8bb49e93e84016af3c10ea53964be5 | Patch, Third Party Advisory |
| https://github.com/CESNET/libyang/issues/723 | Exploit, Third Party Advisory |
| https://github.com/CESNET/libyang/compare/v0.16-r3...v1.0-r1 | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| cesnet:libyang | = 0.16 r3, = 0.11 r2, = 0.12 r2, = 0.13 r2, = 0.16 r2, = 0.11 r1, = 0.12 r1, = 0.13 r1, = 0.14 r1, = 0.15 r1, = 0.16 r1 | no | nvd | /v1/products/cesnet/libyang |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| CESNET/libyang | commit, compare, fix, issues | yes | /v1/repositories/CESNET/libyang |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2020-01-22
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts