{"id":"ALPINE-CVE-2024-49761","details":"REXML is an XML toolkit for Ruby. The REXML gem before 3.3.9 has a ReDoS vulnerability when it parses an XML that has many digits between &# and x...; in a hex numeric character reference (&#x...;). This does not happen with Ruby 3.2 or later. Ruby 3.1 is the only affected maintained Ruby. The REXML gem 3.3.9 or later include the patch to fix the vulnerability.","modified":"2026-03-09T01:23:50.297214Z","published":"2024-10-28T15:15:05.157Z","upstream":["CVE-2024-49761"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2024-49761"}],"affected":[{"package":{"name":"ruby-rexml","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/ruby-rexml?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.9-r0"}]}],"versions":["3.2.5-r0","3.2.5-r1","3.2.5-r2","3.2.5-r3","3.2.6-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-49761.json"}},{"package":{"name":"ruby-rexml","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/ruby-rexml?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.9-r0"}]}],"versions":["3.2.5-r0","3.2.5-r1","3.2.5-r2","3.2.5-r3","3.2.6-r0","3.2.6-r1","3.2.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-49761.json"}},{"package":{"name":"ruby-rexml","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/ruby-rexml?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.9-r0"}]}],"versions":["3.2.5-r0","3.2.5-r1","3.2.5-r2","3.2.5-r3","3.2.6-r0","3.2.6-r1","3.2.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-49761.json"}},{"package":{"name":"ruby-rexml","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/ruby-rexml?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.9-r0"}]}],"versions":["3.2.5-r0","3.2.5-r1","3.2.5-r2","3.2.5-r3","3.2.6-r0","3.2.6-r1","3.2.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-49761.json"}},{"package":{"name":"ruby-rexml","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/ruby-rexml?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.9-r0"}]}],"versions":["3.2.5-r0","3.2.5-r1","3.2.5-r2","3.2.5-r3","3.2.6-r0","3.2.6-r1","3.2.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-49761.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}