CVE-2021-22902
Denial of Service in Action Dispatch
Record from NVD · Published May 5, 2021
actionpack is fixed in 6.1.3.2, 6.1.0.2 and 6.0.3.7 (RubyGems)
The actionpack ruby gem (a framework for handling and responding to web requests in Rails) before 6.0.3.7, 6.1.3.2 suffers from a possible denial of service vulnerability in the Mime type parser of Action Dispatch. Carefully crafted Accept headers can cause the mime type parser in Action Dispatch to do catastrophic backtracking in the regular expression engine.
EPSS 2.87% · 87.1th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| rails | RubyGems | 6.1.0.2, 6.0.3.7 |
| actionpack | RubyGems | 6.1.3.2, 6.1.0.2, 6.0.3.7 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| rubyonrails | rails | 6.0.0, 6.1.0 |
Timeline
- May 5, 2021 CVE Published
- Jun 12, 2021 EPSS Score (30 in total, the first dated here)
- Dec 8, 2022 CVE Updated
- Mar 18, 2026 Security Advisory (3 in total, the first dated here)
- Mar 26, 2026 Distribution Patch (2 in total, the first dated here)
- Aug 25, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-22902
vulnetix vdb fixes CVE-2021-22902
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/CVE-2021-22902/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart