High severityNVD Advisory· Published Jun 11, 2021· Updated Aug 3, 2024
CVE-2021-22902
CVE-2021-22902
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
actionpackRubyGems | >= 6.0.0, < 6.0.3.7 | 6.0.3.7 |
actionpackRubyGems | >= 6.1.0, < 6.1.3.2 | 6.1.3.2 |
Affected products
3- actionpack/actionpack ruby gemdescription
- ghsa-coords2 versions
>= 6.0.0, < 6.0.3.7+ 1 more
- (no CPE)range: >= 6.0.0, < 6.0.3.7
- (no CPE)range: < 6.0.4.4-1.1
Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-g8ww-46x2-2p65ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-22902ghsaADVISORY
- discuss.rubyonrails.org/t/cve-2021-22902-possible-denial-of-service-vulnerability-in-action-dispatch/77866ghsax_refsource_MISCWEB
- github.com/rails/rails/releases/tag/v6.0.3.7ghsaWEB
- github.com/rails/rails/releases/tag/v6.1.3.2ghsaWEB
- github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2021-22902.ymlghsaWEB
- groups.google.com/g/rubyonrails-security/c/_5ID_ld9u1cghsaWEB
- hackerone.com/reports/1138654ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.