Improper Restriction of XML External Entity Reference ('XXE') Affecting rexml package, versions <3.3.6
Threat Intelligence
EPSS
0.04% (11th
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 ID SNYK-RUBY-REXML-7814166
- published 23 Aug 2024
- disclosed 22 Aug 2024
- credit l33thaxor
Introduced: 22 Aug 2024
CVE-2024-43398 Open this link in a new tabHow to fix?
Upgrade rexml
to version 3.3.6 or higher.
Overview
rexml is an An XML toolkit for Ruby.
Affected versions of this package are vulnerable to Improper Restriction of XML External Entity Reference ('XXE') via tree parser APIs like REXML::Document.new
function. An attacker can cause the application to consume excessive resources by submitting specially crafted XML documents with many deep elements that have the same local name attributes.
Note:
This is only exploitable if a tree parser API is used to parse untrusted XMLs.