File tree 1 file changed +59
-0
lines changed
1 file changed +59
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ layout : advisory
3
+ title : ' CVE-2024-43398 (rexml): REXML denial of service vulnerability'
4
+ comments : false
5
+ categories :
6
+ - rexml
7
+ advisory :
8
+ gem : rexml
9
+ cve : 2024-43398
10
+ ghsa : vmwr-mc7x-5vc3
11
+ url : https://github.com/ruby/rexml/security/advisories/GHSA-vmwr-mc7x-5vc3
12
+ title : REXML denial of service vulnerability
13
+ date : 2024-08-22
14
+ description : |
15
+ ### Impact
16
+
17
+ The REXML gem before 3.3.6 has a DoS vulnerability when it parses an
18
+ XML that has many deep elements that have same local name attributes.
19
+
20
+ If you need to parse untrusted XMLs with tree parser API like
21
+ `REXML::Document.new`, you may be impacted to this vulnerability.
22
+ If you use other parser APIs such as stream parser API and SAX2
23
+ parser API, this vulnerability is not affected.
24
+
25
+ This vulnerability has been assigned the CVE identifier CVE-2024-43398.
26
+ We strongly recommend upgrading the REXML gem.
27
+
28
+ ### Patches
29
+
30
+ The REXML gem 3.3.6 or later include the patch to fix the
31
+ vulnerability.
32
+
33
+ ### Workarounds
34
+
35
+ Don't parse untrusted XMLs with tree parser API.
36
+
37
+ ## Affected versions
38
+
39
+ REXML gem 3.3.5 or prior
40
+
41
+ ## Credits
42
+
43
+ Thanks to l33thaxor for discovering this issue.
44
+
45
+ ## History
46
+
47
+ Originally published at 2024-08-22 03:00:00 (UTC)
48
+ cvss_v3 : 5.9
49
+ patched_versions :
50
+ - " >= 3.3.6"
51
+ related :
52
+ url :
53
+ - https://nvd.nist.gov/vuln/detail/CVE-2024-43398
54
+ - https://www.ruby-lang.org/en/news/2024/08/22/dos-rexml-cve-2024-43398
55
+ - https://github.com/ruby/rexml/security/advisories/GHSA-vmwr-mc7x-5vc3
56
+ - https://github.com/ruby/rexml/commit/7cb5eaeb221c322b9912f724183294d8ce96bae3
57
+ - https://github.com/ruby/rexml/releases/tag/v3.3.6
58
+ - https://github.com/advisories/GHSA-vmwr-mc7x-5vc3
59
+ ---
You can’t perform that action at this time.
0 commit comments