Lucene search

K
githubGitHub Advisory DatabaseGHSA-5866-49GR-22V4
HistoryAug 02, 2024 - 12:33 p.m.

REXML DoS vulnerability

2024-08-0212:33:15
CWE-400
CWE-770
GitHub Advisory Database
github.com
7
rexml gem
vulnerability
parsing
sax2
pull parser api

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

AI Score

6.7

Confidence

Low

EPSS

0.001

Percentile

23.8%

Impact

The REXML gem before 3.3.2 has a DoS vulnerability when it parses an XML that has many entity expansions with SAX2 or pull parser API.

If you need to parse untrusted XMLs with SAX2 or pull parser API, you may be impacted to this vulnerability.

Patches

The REXML gem 3.3.3 or later include the patch to fix the vulnerability.

Workarounds

Don’t parse untrusted XMLs with SAX2 or pull parser API.

References

Affected configurations

Vulners
Node
rexmlRange<3.3.3
VendorProductVersionCPE
*rexml*cpe:2.3:a:*:rexml:*:*:*:*:*:*:*:*

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

AI Score

6.7

Confidence

Low

EPSS

0.001

Percentile

23.8%