rexml Gem up to 3.3.5 on Ruby API Parser REXML::Document.new xml entity expansion

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.4$0-$5k0.00

Summaryinfo

A vulnerability identified as problematic has been detected in rexml Gem up to 3.3.5 on Ruby. Affected is the function REXML::Document.new of the component API Parser. Performing a manipulation results in xml entity expansion. This vulnerability is identified as CVE-2024-43398. The attack can be initiated remotely. There is not any exploit available. You should upgrade the affected component.

Detailsinfo

A vulnerability classified as problematic has been found in rexml Gem up to 3.3.5 on Ruby. This affects the function REXML::Document.new of the component API Parser. The manipulation with an unknown input leads to a xml entity expansion vulnerability. CWE is classifying the issue as CWE-776. The product uses XML documents and allows their structure to be defined with a Document Type Definition (DTD), but it does not properly control the number of recursive definitions of entities. This is going to have an impact on availability. The summary by CVE is:

REXML is an XML toolkit for Ruby. The REXML gem before 3.3.6 has a DoS vulnerability when it parses an XML that has many deep elements that have same local name attributes. If you need to parse untrusted XMLs with tree parser API like REXML::Document.new, you may be impacted to this vulnerability. If you use other parser APIs such as stream parser API and SAX2 parser API, this vulnerability is not affected. The REXML gem 3.3.6 or later include the patch to fix the vulnerability.

It is possible to read the advisory at github.com. This vulnerability is uniquely identified as CVE-2024-43398 since 08/12/2024. The exploitability is told to be difficult. It is possible to initiate the attack remotely. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability scanner Nessus provides a plugin with the ID 207950 (Rocky Linux 8 : ruby:3.3 (RLSA-2024:6784)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 3.3.6 eliminates this vulnerability.

The vulnerability is also documented in the databases at Tenable (207950) and CERT Bund (WID-SEC-2025-2475). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Affected

  • Apple macOS

Productinfo

Type

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.5
VulDB Meta Temp Score: 4.4

VulDB Base Score: 3.1
VulDB Temp Score: 3.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

CNA Base Score: 5.9
CNA Vector (GitHub_M): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Xml entity expansion
CWE: CWE-776
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 207950
Nessus Name: Rocky Linux 8 : ruby:3.3 (RLSA-2024:6784)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: rexml Gem 3.3.6

Timelineinfo

08/12/2024 🔍
08/22/2024 +10 days 🔍
08/22/2024 +0 days 🔍
06/02/2026 +649 days 🔍

Sourcesinfo

Advisory: github.com
Status: Confirmed

CVE: CVE-2024-43398 (🔍)
GCVE (CVE): GCVE-0-2024-43398
GCVE (VulDB): GCVE-100-275571
CERT Bund: WID-SEC-2025-2475 - Apple macOS: Mehrere Schwachstellen

Entryinfo

Created: 08/22/2024 16:40
Updated: 06/02/2026 08:56
Changes: 08/22/2024 16:40 (66), 08/23/2024 14:47 (1), 10/01/2024 08:08 (2), 11/04/2025 22:17 (7), 06/02/2026 08:56 (1)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!