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


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.29% (53rd 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-RHEL8-EXPAT-7911328
  • published5 Sept 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 RHEL:8 expat to version 0:2.2.5-15.el8_10 or higher.
This issue was patched in RHSA-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 RHEL. See How to fix? for RHEL: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