CVE-2024-39908

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-39908
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-39908.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-39908
Aliases
Related
Published
2024-07-16T18:15:08Z
Modified
2024-12-05T15:37:27.251295Z
Summary
[none]
Details

REXML is an XML toolkit for Ruby. The REXML gem before 3.3.1 has some DoS vulnerabilities when it parses an XML that has many specific characters such as <, 0 and %>. If you need to parse untrusted XMLs, you many be impacted to these vulnerabilities. The REXML gem 3.3.2 or later include the patches to fix these vulnerabilities. Users are advised to upgrade. Users unable to upgrade should avoid parsing untrusted XML strings.

References

Affected packages

Alpine:v3.19 / ruby-rexml

Package

Name
ruby-rexml
Purl
pkg:apk/alpine/ruby-rexml?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.3.9-r0

Affected versions

3.*

3.2.5-r0
3.2.5-r1
3.2.5-r2
3.2.5-r3
3.2.6-r0

Alpine:v3.20 / ruby-rexml

Package

Name
ruby-rexml
Purl
pkg:apk/alpine/ruby-rexml?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.3.9-r0

Affected versions

3.*

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

Alpine:v3.21 / ruby-rexml

Package

Name
ruby-rexml
Purl
pkg:apk/alpine/ruby-rexml?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.3.9-r0

Affected versions

3.*

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

Debian:11 / ruby2.7

Package

Name
ruby2.7
Purl
pkg:deb/debian/ruby2.7?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.7.4-1
2.7.4-1+deb11u1
2.7.4-1+deb11u2
2.7.5-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / ruby3.1

Package

Name
ruby3.1
Purl
pkg:deb/debian/ruby3.1?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.1.2-7
3.1.2-7+deb12u1
3.1.2-7+hurd.1
3.1.2-8
3.1.2-8.1~exp1
3.1.2-8.3
3.1.2-8.4

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / ruby3.1

Package

Name
ruby3.1
Purl
pkg:deb/debian/ruby3.1?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.1.2-7
3.1.2-7+hurd.1
3.1.2-8
3.1.2-8.1~exp1
3.1.2-8.3
3.1.2-8.4

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / ruby3.3

Package

Name
ruby3.3
Purl
pkg:deb/debian/ruby3.3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.3.5-1

Affected versions

3.*

3.3.1-1
3.3.1-2
3.3.1-3
3.3.1-4
3.3.1-5
3.3.1-6
3.3.4-1
3.3.4-2
3.3.4-2+hurd.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

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

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
v3.2.7
v3.2.8
v3.2.9
v3.3.0