ALPINE-CVE-2024-49761
Record from OSV · Published October 28, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ruby-rexml | Alpine:v3.19 | 3.3.9-r0 |
| ruby-rexml | Alpine:v3.24 | 3.3.9-r0 |
| ruby-rexml | Alpine:v3.21 | 3.3.9-r0 |
| ruby-rexml | Alpine:v3.22 | 3.3.9-r0 |
| ruby-rexml | Alpine:v3.20 | 3.3.9-r0 |
| ruby-rexml | Alpine:v3.23 | 3.3.9-r0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.19 | ruby-rexml | 0, 3.2.6-r0, 3.2.5-r3 |
| Alpine:v3.24 | ruby-rexml | 0 |
| Alpine:v3.21 | ruby-rexml | 3.2.9-r0, 0, 3.2.5-r0 |
| Alpine:v3.22 | ruby-rexml | 3.2.9-r0, 3.2.5-r0, 3.2.5-r1 |
| Alpine:v3.20 | ruby-rexml | 0, 3.2.9-r0, 3.2.5-r2 |
| Alpine:v3.23 | ruby-rexml | 3.2.5-r2, 3.2.5-r3, 0 |
Timeline
- Oct 28, 2024 CVE Published
- Jun 15, 2026 CVE Updated
- Aug 8, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln ALPINE-CVE-2024-49761
vulnetix vdb fixes ALPINE-CVE-2024-49761
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/ALPINE-CVE-2024-49761/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart