CVE-2024-35176

Source
https://cve.org/CVERecord?id=CVE-2024-35176
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-35176.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-35176
Aliases
Downstream
ALSA (2)
AZL (4)
CGA (46)
DEBIAN (1)
ECHO (1)
MGASA (1)
MINI (1)
OESA (1)
openSUSE (1)
RHSA (2)
RLSA (2)
SUSE (1)
UBUNTU (1)
Related
Published
2024-05-16T15:13:25Z
Modified
2026-10-22T10:34:51Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
REXML contains a denial of service vulnerability
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-400",
        "CWE-770"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35176.json"
}
References

Affected packages

Git / github.com/ruby/rexml

Affected ranges

Type
GIT
Repo
https://github.com/ruby/rexml
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:ruby-lang:rexml:*:*:*:*:*:ruby:*:*",
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "3.2.7"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "range": [
                {
                    "fixed": "4325835f92f3f142ebd91a3fdba4e1f1ab7f1cfb"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v3.*
v3.1.8
v3.1.9
v3.2.0
v3.2.1
v3.2.2
v3.2.3
v3.2.4
v3.2.5
v3.2.6

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-35176.json"