Resource exhaustion in Rubyonrails Rails
CVE-2021-22880
The PostgreSQL adapter in Active Record before 6.1.2.1, 6.0.3.5, 5.2.4.5 suffers from a regular expression denial of service (REDoS) vulnerability. Carefully crafted input can cause the input validation in the `money` type of the PostgreSQL adapter in Active Record to spend too much time in a regular expression, resulting in the potential for a DoS attack. This only impacts Rails applications that are using PostgreSQL along with money type columns that take user input.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.044 (91.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 91st percentile — 91.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.044 · newest: 0.044 · change: 0.000
Affected products
- Rubyonrails Rails
- Fedoraproject Fedora — versions 32, 33
- Https://github.com/rails/rails — versions Fixed in 6.1.2.1, 6.0.3.5, 5.2.4.5
Weakness classification (CWE)
Public proof-of-concept exploits
References
- hackerone.com/reports/1023899 (Exploit, Patch, Third Party Advisory)
- discuss.rubyonrails.org/t/cve-2021-22880-possible-dos-vulnerability-in-active-r… (Patch, Mitigation, Vendor Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- www.debian.org/security/2021/dsa-4929 (vendor-advisory, Third Party Advisory)
- security.netapp.com/advisory/ntap-20210805-0009/ (Third Party Advisory)
Frequently asked questions
- What is CVE-2021-22880?
- CVE-2021-22880 is a high-severity vulnerability in Rubyonrails Rails, classified under Uncontrolled Resource Consumption. CVSS score: 7.5/10. Published 2021-02-11.
- How severe is CVE-2021-22880?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2021-22880 known to be exploited?
- 5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.