CVE-2021-22880

rubygem-activerecord: crafted input may cause a regular expression DoS

Published Feb 11, 2021 CVSS 3.1 · 7.5 High EPSS 4.5% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-4929-1 rails security update
EUVD EUVD EUVD-2021-0633 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.
Github GHSA Github GHSA GHSA-8hc4-xxm3-5ppp Active Record subject to Regular Expression Denial-of-Service (ReDoS)
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
hackerone
Published
Updated
Aug 3, 2024, 6:58 PM
Reserved
Jan 6, 2021, 12:00 AM
Status
Modified
Published
Feb 11, 2021, 6:15 PM
Modified
Jun 17, 2026, 3:37 AM
Severity
Moderate
Public date
Feb 11, 2021, 12:00 AM