CVE-2021-22902
Last modified
CVE-2021-22902 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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 estimates a 2.79% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Rubyonrails | Rails | >= 6.0.0, < 6.0.3.7 |
| Rubyonrails | Rails | >= 6.1.0, < 6.1.0.2 |
References
- https://discuss.rubyonrails.org/t/cve-2021-22902-possible-denial-of-service-vulnerability-in-action-dispatch/77866Exploit, Mitigation, Patch, Vendor Advisory
- https://hackerone.com/reports/1138654Permissions Required, Third Party Advisory
- https://discuss.rubyonrails.org/t/cve-2021-22902-possible-denial-of-service-vulnerability-in-action-dispatch/77866Exploit, Mitigation, Patch, Vendor Advisory
- https://hackerone.com/reports/1138654Permissions Required, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-22902?
How severe is CVE-2021-22902?
How do I fix CVE-2021-22902?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-22897curl 7.61.0 through 7.76.1 suffers from exposure of data ele…5.3
- CVE-2021-22898curl 7.7 through 7.76.1 suffers from an information disclosu…3.1
- CVE-2021-22899A command injection vulnerability exists in Pulse Connect Se…8.8
- CVE-2021-2290Vulnerability in the Oracle Engineering product of Oracle E-…8.1
- CVE-2021-22900A vulnerability allowed multiple unrestricted uploads in Pul…7.2
- CVE-2021-22901curl 7.75.0 through 7.76.1 suffers from a use-after-free vul…8.1
- CVE-2021-22903The actionpack ruby gem before 6.1.3.2 suffers from a possib…6.1
- CVE-2021-22904The actionpack ruby gem before 6.1.3.2, 6.0.3.7, 5.2.4.6, 5.…7.5
- CVE-2021-22905Nextcloud Android App (com.nextcloud.client) before v3.16.0 …6.5
- CVE-2021-22906Nextcloud End-to-End Encryption before 1.5.3, 1.6.3 and 1.7.…6.5
- CVE-2021-22907An improper access control vulnerability exists in Citrix Wo…7.8
- CVE-2021-22908A buffer overflow vulnerability exists in Windows File Resou…8.8
Are you affected by CVE-2021-22902?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
