Uncontrolled Recursion Affecting expat package, versions <2.2.9-1ubuntu0.4


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.16% (36th 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 Uncontrolled Recursion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2004-EXPAT-2406849
  • published18 Feb 2022
  • disclosed18 Feb 2022

Introduced: 18 Feb 2022

CVE-2022-25313  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 expat to version 2.2.9-1ubuntu0.4 or higher.

NVD Description

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

In Expat (aka libexpat) before 2.4.5, an attacker can trigger stack exhaustion in build_model via a large nesting depth in the DTD element.

CVSS Base Scores

version 3.1