Integer Overflow or Wraparound Affecting expat package, versions <0:2.2.5-15.el8_10


Severity

Recommended
medium

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.81% (74th 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 Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ROCKY8-EXPAT-8134643
  • published1 Oct 2024
  • disclosed30 Aug 2024

Introduced: 30 Aug 2024

CVE-2024-45491  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 expat to version 0:2.2.5-15.el8_10 or higher.
This issue was patched in RLSA-2024:6989.

NVD Description

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

An issue was discovered in libexpat before 2.6.3. dtdCopy in xmlparse.c can have an integer overflow for nDefaultAtts on 32-bit platforms (where UINT_MAX equals SIZE_MAX).

CVSS Base Scores

version 3.1