VDB

ALPINE-CVE-2021-41817

ALPINE-CVE-2021-41817 PUBLISHED CVSS 7.5 HIGH

Record from OSV · Published January 1, 2022

Date.parse in the date gem through 3.2.0 for Ruby allows ReDoS (regular expression Denial of Service) via a long string. The fixed versions are 3.2.1, 3.1.2, 3.0.2, and 2.0.1.

Fixed versions

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

PackageEcosystemFixed in
rubyAlpine:v3.142.7.5-r0
rubyAlpine:v3.243.0.3-r0
rubyAlpine:v3.203.0.3-r0
rubyAlpine:v3.223.0.3-r0
rubyAlpine:v3.153.0.3-r0
rubyAlpine:v3.122.7.5-r0
rubyAlpine:v3.132.7.5-r0
rubyAlpine:v3.183.0.3-r0
rubyAlpine:v3.213.0.3-r0
rubyAlpine:v3.193.0.3-r0
rubyAlpine:v3.163.0.3-r0
rubyAlpine:v3.233.0.3-r0

1 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:N/A:H

Affected products

VendorProductVersions
Alpine:v3.14ruby2.7.1-r5, 0, 1.8.7_p174-r1
Alpine:v3.24ruby2.6.0
Alpine:v3.20ruby0, 2.6.0
Alpine:v3.22ruby0, 2.6.0
Alpine:v3.15ruby1.9.3_p362-r0, 1.9.3_p194-r0, 1.8.7_p72-r2
Alpine:v3.12ruby2.4.1-r3, 0, 1.8.7_p160-r2
Alpine:v3.13ruby0, 1.8.7_p160-r2, 1.8.7_p160-r3
Alpine:v3.18ruby0, 1.8.7_p160-r2, 1.8.7_p160-r3
Alpine:v3.21ruby0, 2.6.0
Alpine:v3.19ruby1.8.7_p174-r3, 1.8.7_p174-r4, 1.8.7_p174-r6
Alpine:v3.16ruby2.0.0_p247-r1, 2.4.0-r3, 2.5.0-r1
Alpine:v3.23ruby2.6.0, 0
Alpine:v3.17ruby1.8.7_p174-r0, 1.8.7_p174-r1, 1.8.7_p174-r2

Timeline

  • Jan 1, 2022 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-41817
vulnetix vdb fixes ALPINE-CVE-2021-41817

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-41817/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 ›