CVE-2021-22880

Summary

CVECVE-2021-22880
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-02-11 18:15:00 UTC
Updated2023-11-07 03:30:00 UTC
DescriptionThe 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.

Risk And Classification

Problem Types: CWE-400

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 32 All All All
Operating System Fedoraproject Fedora 33 All All All
Application Rubyonrails Rails All All All All
Application Rubyonrails Rails All All All All

References

ReferenceSourceLinkTags
Debian -- Security Information -- DSA-4929-1 rails DEBIAN www.debian.org
[CVE-2021-22880] Possible DoS Vulnerability in Active Record PostgreSQL adapter - Security Announcements - Ruby on Rails Discussions MISC discuss.rubyonrails.org Mitigation, Patch, Vendor Advisory
June 2021 Ruby Vulnerabilities in NetApp Products | NetApp Product Security CONFIRM security.netapp.com
HackerOne MISC hackerone.com Exploit, Patch, Third Party Advisory
[SECURITY] Fedora 32 Update: rubygem-activerecord-5.2.3-5.fc32 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 32 Update: rubygem-activerecord-5.2.3-5.fc32 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 33 Update: rubygem-actionpack-6.0.3.4-2.fc33 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 33 Update: rubygem-actionpack-6.0.3.4-2.fc33 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 178665 Debian Security Update for rails (DSA 4929-1)
  • 179933 Debian Security Update for rails (CVE-2021-22880)
  • 281540 Fedora Security Update for rubygem (FEDORA-2021-def0e32233)
  • 281541 Fedora Security Update for rubygem (FEDORA-2021-b571fca1b8)
  • 690374 Free Berkeley Software Distribution (FreeBSD) Security Update for rails (8e670b85-706e-11eb-abb2-08002728f74c)
  • 751343 OpenSUSE Security Update for rubygem-activerecord-5_1 (openSUSE-SU-2021:3634-1)
  • 751347 OpenSUSE Security Update for rubygem-activerecord-5_1 (openSUSE-SU-2021:1468-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report