Double Free Affecting libyang package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.46% (76th 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 Learn

Learn about Double Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2004-LIBYANG-1164738
  • published18 Feb 2022
  • disclosed22 Jan 2020

Introduced: 22 Jan 2020

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

How to fix?

There is no fixed version for Ubuntu:20.04 libyang.

NVD Description

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

A double-free is present in libyang before v1.0-r1 in the function yyparse() when an empty description is used. 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