Skip to content

Update rexml version to 3.3.9#4683

Open
i5d6 wants to merge 1 commit intotrustwallet:masterfrom
i5d6:patch-1
Open

Update rexml version to 3.3.9#4683
i5d6 wants to merge 1 commit intotrustwallet:masterfrom
i5d6:patch-1

Conversation

@i5d6
Copy link

@i5d6 i5d6 commented Feb 26, 2026

This report details CVE-2024-43398, a Denial of Service (DoS) vulnerability affecting the REXML library in Ruby. This vulnerability arises when parsing XML documents containing deeply nested elements with numerous identical local attribute names, leading to excessive resource consumption and slow processing, potentially causing application crashes. The vulnerability was discovered and reported on August 22, 2024, and impacts REXML versions older than 3.3.6

.

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.
@i5d6 i5d6 requested a review from a team as a code owner February 26, 2026 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant