ALPINE-CVE-2024-43398
Record from OSV · Published August 22, 2024
REXML is an XML toolkit for Ruby. 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. The REXML gem 3.3.6 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.23 | 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.24 | 3.3.9-r0 |
| ruby-rexml | Alpine:v3.21 | 3.3.9-r0 |
| ruby-rexml | Alpine:v3.19 | 3.3.9-r0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.23 | ruby-rexml | 0, 3.2.6-r0, 3.2.6-r1 |
| Alpine:v3.22 | ruby-rexml | 3.2.6-r1, 0, 3.2.5-r0 |
| Alpine:v3.20 | ruby-rexml | 3.2.6-r0, 0, 3.2.5-r0 |
| Alpine:v3.24 | ruby-rexml | 0 |
| Alpine:v3.21 | ruby-rexml | 3.2.5-r1, 3.2.6-r1, 3.2.5-r0 |
| Alpine:v3.19 | ruby-rexml | 3.2.6-r0, 3.2.5-r1, 3.2.5-r2 |
Timeline
- Aug 22, 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-43398
vulnetix vdb fixes ALPINE-CVE-2024-43398
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-43398/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart