VDB

ALPINE-CVE-2021-28965

ALPINE-CVE-2021-28965 PUBLISHED CVSS 7.5 HIGH

Record from OSV · Published April 21, 2021

The REXML gem before 3.2.5 in Ruby before 2.6.7, 2.7.x before 2.7.3, and 3.x before 3.0.1 does not properly address XML round-trip issues. An incorrect document can be produced after parsing and serializing.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
rubyAlpine:v3.132.7.3-r0
rubyAlpine:v3.102.5.9-r0
rubyAlpine:v3.172.7.3-r0
rubyAlpine:v3.202.7.3-r0
rubyAlpine:v3.222.7.3-r0
rubyAlpine:v3.162.7.3-r0
rubyAlpine:v3.112.6.7-r0
rubyAlpine:v3.192.7.3-r0
rubyAlpine:v3.142.7.3-r0
rubyAlpine:v3.212.7.3-r0
rubyAlpine:v3.182.7.3-r0
rubyAlpine:v3.122.7.3-r0

3 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected products

VendorProductVersions
Alpine:v3.13ruby2.6.6-r4, 1.8.7_p174-r0, 1.8.7_p174-r1
Alpine:v3.10ruby0, 2.5.2-r0, 2.7.0
Alpine:v3.17ruby1.8.7_p174-r6, 2.7.0, 2.5.1-r1
Alpine:v3.20ruby0, 2.7.0
Alpine:v3.22ruby0, 2.7.0
Alpine:v3.16ruby2.4.1-r1, 2.5.1-r0, 2.0.0_p481-r0
Alpine:v3.11ruby2.6.3-r0, 0, 1.8.7_p160-r2
Alpine:v3.19ruby0, 2.0.0_p481-r0, 2.7.1-r5
Alpine:v3.14ruby2.0.0_p247-r1, 0, 2.7.0
Alpine:v3.21ruby0, 2.7.0
Alpine:v3.18ruby1.8.7_p174-r0, 1.8.7_p174-r1, 2.5.3-r1
Alpine:v3.12ruby2.5.0-r1, 1.8.7_p160-r2, 1.8.7_p160-r3
Alpine:v3.15ruby2.6.3-r1, 2.7.2-r3, 2.7.2-r4
Alpine:v3.23ruby0, 2.7.0
Alpine:v3.24ruby2.7.0

Timeline

  • Apr 21, 2021 CVE Published
  • Jul 8, 2026 CVE Updated
  • Aug 8, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln ALPINE-CVE-2021-28965
vulnetix vdb fixes ALPINE-CVE-2021-28965

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-2021-28965/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›