Uncontrolled Recursion Affecting libyang package, versions *


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.1% (43rd 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-UBUNTU2004-LIBYANG-1296278
  • published18 Feb 2022
  • disclosed20 May 2021

Introduced: 20 May 2021

CVE-2021-28903  (opens in a new tab)
CWE-674  (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 stack overflow in libyang <= v1.0.225 can cause a denial of service through function lyxml_parse_mem(). lyxml_parse_elem() function will be called recursively, which will consume stack space and lead to crash.

CVSS Scores

version 3.1