Resource Exhaustion Affecting rails package, versions <2:5.2.2.1+dfsg-1+deb10u3


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.72% (81st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Resource Exhaustion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN10-RAILS-1073759
  • published13 Feb 2021
  • disclosed11 Feb 2021

Introduced: 11 Feb 2021

CVE-2021-22880  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade Debian:10 rails to version 2:5.2.2.1+dfsg-1+deb10u3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rails package and not the rails package as distributed by Debian. See How to fix? for Debian:10 relevant fixed versions and status.

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.

CVSS Scores

version 3.1