CVE-2021-22880 – activerecord
Package
Manager: gem
Name: activerecord
Vulnerable Version: >=5.0.0 <5.2.4.5 || >=6.0.0 <6.0.3.5 || >=6.1.0 <6.1.2.1
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS: 0.05881 pctl0.90221
Details
Active Record subject to Regular Expression Denial-of-Service (ReDoS) 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.
Metadata
Created: 2021-03-02T03:44:14Z
Modified: 2023-07-03T22:08:31Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-8hc4-xxm3-5ppp/GHSA-8hc4-xxm3-5ppp.json
CWE IDs: ["CWE-400"]
Alternative ID: GHSA-8hc4-xxm3-5ppp
Finding: F002
Auto approve: 1