{"id":"CVE-2024-35176","state":"PUBLISHED","title":"REXML contains a denial of service vulnerability","description":" REXML is an XML toolkit for Ruby. The REXML gem before 3.2.6 has a denial of service vulnerability when it parses an XML that has many `<`s in an attribute value. Those who need to parse untrusted XMLs may be impacted to this vulnerability. The REXML gem 3.2.7 or later include the patch to fix this vulnerability. As a workaround, don't parse untrusted XMLs.","publishedAt":"2024-05-16T15:13:25.100Z","updatedAt":"2025-11-03T20:37:32.949Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["ruby rexml"],"affected":[{"vendor":"ruby","product":"rexml","versions":[{"version":"< 3.2.7","status":"affected"}]}],"references":["https://github.com/ruby/rexml/security/advisories/GHSA-vg3r-rm7w-2xgh","https://github.com/ruby/rexml/commit/4325835f92f3f142ebd91a3fdba4e1f1ab7f1cfb","https://www.ruby-lang.org/en/news/2024/05/16/dos-rexml-cve-2024-35176","https://security.netapp.com/advisory/ntap-20250306-0001/","https://lists.debian.org/debian-lts-announce/2025/01/msg00011.html"],"weaknesses":["CWE-400","CWE-770"],"ingestedAt":"2026-10-29T20:07:30.303Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/35xxx/CVE-2024-35176.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-35176","state":"PUBLISHED","datePublished":"2024-05-16T15:13:25.100Z","dateUpdated":"2025-11-03T20:37:32.949Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-05-10T14:24:24.338Z"},"containers":{"cna":{"title":"REXML contains a denial of service vulnerability","descriptions":[{"lang":"en","value":" REXML is an XML toolkit for Ruby. The REXML gem before 3.2.6 has a denial of service vulnerability when it parses an XML that has many `<`s in an attribute value. Those who need to parse untrusted XMLs may be impacted to this vulnerability. The REXML gem 3.2.7 or later include the patch to fix this vulnerability. As a workaround, don't parse untrusted XMLs."}],"affected":[{"vendor":"ruby","product":"rexml","versions":[{"version":"< 3.2.7","status":"affected"}]}],"references":[{"url":"https://github.com/ruby/rexml/security/advisories/GHSA-vg3r-rm7w-2xgh","name":"https://github.com/ruby/rexml/security/advisories/GHSA-vg3r-rm7w-2xgh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ruby/rexml/commit/4325835f92f3f142ebd91a3fdba4e1f1ab7f1cfb","name":"https://github.com/ruby/rexml/commit/4325835f92f3f142ebd91a3fdba4e1f1ab7f1cfb","tags":["x_refsource_MISC"]},{"url":"https://www.ruby-lang.org/en/news/2024/05/16/dos-rexml-cve-2024-35176","name":"https://www.ruby-lang.org/en/news/2024/05/16/dos-rexml-cve-2024-35176","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","lang":"en","description":"CWE-400: Uncontrolled Resource Consumption","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-770","lang":"en","description":"CWE-770: Allocation of Resources Without Limits or Throttling","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-05-16T15:13:25.100Z"},"source":{"advisory":"GHSA-vg3r-rm7w-2xgh","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"ruby-lang","product":"rexml","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"3.2.7","versionType":"custom"}],"cpes":["cpe:2.3:a:ruby-lang:rexml:*:*:*:*:*:ruby:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-05-16T18:26:15.797427Z","id":"CVE-2024-35176","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-01T15:47:54.116Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/ruby/rexml/security/advisories/GHSA-vg3r-rm7w-2xgh","name":"https://github.com/ruby/rexml/security/advisories/GHSA-vg3r-rm7w-2xgh","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/ruby/rexml/commit/4325835f92f3f142ebd91a3fdba4e1f1ab7f1cfb","name":"https://github.com/ruby/rexml/commit/4325835f92f3f142ebd91a3fdba4e1f1ab7f1cfb","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.ruby-lang.org/en/news/2024/05/16/dos-rexml-cve-2024-35176","name":"https://www.ruby-lang.org/en/news/2024/05/16/dos-rexml-cve-2024-35176","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20250306-0001/"},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00011.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T20:37:32.949Z"}}]}}}