Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Rubyonrails | Rails | >= 4.2.0, < 5.2.4.5 |
| Fedoraproject | Fedora | 32 |
Related Weaknesses (CWE)
References
- https://discuss.rubyonrails.org/t/cve-2021-22880-possible-dos-vulnerability-in-aMitigationPatchVendor Advisory
- https://hackerone.com/reports/1023899ExploitPatchThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://security.netapp.com/advisory/ntap-20210805-0009/Third Party Advisory
- https://www.debian.org/security/2021/dsa-4929Third Party Advisory
- https://discuss.rubyonrails.org/t/cve-2021-22880-possible-dos-vulnerability-in-aMitigationPatchVendor Advisory
- https://hackerone.com/reports/1023899ExploitPatchThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://security.netapp.com/advisory/ntap-20210805-0009/Third Party Advisory
- https://www.debian.org/security/2021/dsa-4929Third Party Advisory
FAQ
What is CVE-2021-22880?
CVE-2021-22880 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 validati...
How severe is CVE-2021-22880?
CVE-2021-22880 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-22880?
Check the references section above for vendor advisories and patch information. Affected products include: Rubyonrails Rails, Fedoraproject Fedora.