Double Free Affecting libyang package, versions <1.0.176-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.37% (73rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-LIBYANG-543046
  • published23 Jan 2020
  • disclosed22 Jan 2020

Introduced: 22 Jan 2020

CVE-2019-20394  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade Debian:unstable libyang to version 1.0.176-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libyang package and not the libyang package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type statement in used in a notification statement. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or potentially code execution.

CVSS Scores

version 3.1