Vulnerability Monitor

The vendors, products, and vulnerabilities you care about

CVE-2021-22880


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.


Published

2021-02-11T18:15:17.333

Last Modified

2024-11-21T05:50:49.607

Status

Modified

Source

[email protected]

Severity

CVSSv3.1: 7.5 (HIGH)

CVSSv2 Vector

AV:N/AC:L/Au:N/C:N/I:N/A:P

  • Access Vector: NETWORK
  • Access Complexity: LOW
  • Authentication: NONE
  • Confidentiality Impact: NONE
  • Integrity Impact: NONE
  • Availability Impact: PARTIAL
Exploitability Score

10.0

Impact Score

2.9

Weaknesses
  • Type: Secondary
    CWE-400
  • Type: Primary
    CWE-400

Affected Vendors & Products
Type Vendor Product Version/Range Vulnerable?
Application rubyonrails rails < 5.2.4.5 Yes
Application rubyonrails rails < 6.0.3.5 Yes
Application rubyonrails rails < 6.1.2.1 Yes
Operating System fedoraproject fedora 32 Yes
Operating System fedoraproject fedora 33 Yes

References