Search for packages
Package details: pkg:gem/rexml@3.3.3
purl pkg:gem/rexml@3.3.3
Next non-vulnerable version 3.3.9
Latest non-vulnerable version 3.3.9
Risk 4.0
Vulnerabilities affecting this package (2)
Vulnerability Summary Fixed by
VCID-bdtz-3mgw-4kga
Aliases:
CVE-2024-49761
GHSA-2rxp-v6pw-ch6m
REXML ReDoS vulnerability ### Impact 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. Note that Ruby 3.1 will reach EOL on 2025-03. ### Patches The REXML gem 3.3.9 or later include the patch to fix the vulnerability. ### Workarounds Use Ruby 3.2 or later instead of Ruby 3.1. ### References * https://www.ruby-lang.org/en/news/2024/10/28/redos-rexml-cve-2024-49761/: An announce on www.ruby-lang.org
3.3.9
Affected by 0 other vulnerabilities.
VCID-v8uu-3mwj-j3a9
Aliases:
CVE-2024-43398
GHSA-vmwr-mc7x-5vc3
REXML denial of service vulnerability ### Impact The REXML gem before 3.3.6 has a DoS vulnerability when it parses an XML that has many deep elements that have same local name attributes. If you need to parse untrusted XMLs with tree parser API like `REXML::Document.new`, you may be impacted to this vulnerability. If you use other parser APIs such as stream parser API and SAX2 parser API, this vulnerability is not affected. ### Patches The REXML gem 3.3.6 or later include the patch to fix the vulnerability. ### Workarounds Don't parse untrusted XMLs with tree parser API. ### References * https://www.ruby-lang.org/en/news/2024/08/22/dos-rexml-cve-2024-43398/ : An announce on www.ruby-lang.org
3.3.6
Affected by 1 other vulnerability.
Vulnerabilities fixed by this package (2)
Vulnerability Summary Aliases
VCID-5dfw-xgq5-5fay REXML DoS vulnerability ### Impact The REXML gem before 3.3.2 has some DoS vulnerabilities when it parses an XML that has many specific characters such as whitespace character, `>]` and `]>`. If you need to parse untrusted XMLs, you may be impacted to these vulnerabilities. ### Patches The REXML gem 3.3.3 or later include the patches to fix these vulnerabilities. ### Workarounds Don't parse untrusted XMLs. ### References * https://github.com/ruby/rexml/security/advisories/GHSA-vg3r-rm7w-2xgh : This is a similar vulnerability * https://github.com/ruby/rexml/security/advisories/GHSA-4xqq-m2hx-25v8 : This is a similar vulnerability * https://www.ruby-lang.org/en/news/2024/08/01/dos-rexml-cve-2024-41123/: An announce on www.ruby-lang.org CVE-2024-41123
GHSA-r55c-59qm-vjw6
VCID-excx-35g6-abfe REXML DoS vulnerability ### 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 * https://www.ruby-lang.org/en/news/2008/08/23/dos-vulnerability-in-rexml/ : This is a similar vulnerability * https://www.ruby-lang.org/en/news/2024/08/01/dos-rexml-cve-2024-41946/: An announce on www.ruby-lang.org CVE-2024-41946
GHSA-5866-49gr-22v4

Date Actor Action Vulnerability Source VulnerableCode Version
2025-07-03T19:14:19.435990+00:00 GitLab Importer Affected by VCID-bdtz-3mgw-4kga https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/rexml/CVE-2024-49761.yml 37.0.0
2025-07-03T19:10:41.878624+00:00 GitLab Importer Affected by VCID-v8uu-3mwj-j3a9 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/rexml/CVE-2024-43398.yml 37.0.0
2025-07-03T19:09:59.045978+00:00 GitLab Importer Fixing VCID-excx-35g6-abfe https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/rexml/CVE-2024-41946.yml 37.0.0
2025-07-03T13:57:05.179551+00:00 GitLab Importer Fixing VCID-excx-35g6-abfe https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/rexml/CVE-2024-41946.yml 36.1.3
2025-07-03T13:57:04.999830+00:00 GitLab Importer Fixing VCID-5dfw-xgq5-5fay https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/rexml/CVE-2024-41123.yml 36.1.3
2025-07-01T14:35:22.599821+00:00 GHSA Importer Fixing VCID-excx-35g6-abfe https://github.com/advisories/GHSA-5866-49gr-22v4 36.1.3
2025-07-01T14:35:22.433173+00:00 GHSA Importer Fixing VCID-5dfw-xgq5-5fay https://github.com/advisories/GHSA-r55c-59qm-vjw6 36.1.3
2025-07-01T12:10:15.533023+00:00 GithubOSV Importer Fixing VCID-excx-35g6-abfe https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-5866-49gr-22v4/GHSA-5866-49gr-22v4.json 36.1.3
2025-07-01T12:10:11.670104+00:00 GithubOSV Importer Fixing VCID-5dfw-xgq5-5fay https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-r55c-59qm-vjw6/GHSA-r55c-59qm-vjw6.json 36.1.3