5
CVSSv2

CVE-2021-22880

Published: 11/02/2021 Updated: 07/11/2023
CVSS v2 Base Score: 5 | Impact Score: 2.9 | Exploitability Score: 10
CVSS v3 Base Score: 7.5 | Impact Score: 3.6 | Exploitability Score: 3.9
VMScore: 445
Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P

Vulnerability Summary

The PostgreSQL adapter in Active Record prior to 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 Trend

Vulnerable Product Search on Vulmon Subscribe to Product

rubyonrails rails

fedoraproject fedora 32

fedoraproject fedora 33

Vendor Advisories

Multiple security issues were discovered in the Rails web framework which could result in denial of service For the stable distribution (buster), these problems have been fixed in version 2:5221+dfsg-1+deb10u3 We recommend that you upgrade your rails packages For the detailed security status of rails please refer to its security tracker page ...

Github Repositories

CVE-2021-22880 Usage Creating rails-server and PoC refer to hackerOne