Resource Exhaustion Affecting ruby2.5-rubygem-activerecord-5_1 package, versions <5.1.4-5.3.3


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.79% (82nd 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-SLES152-RUBY25RUBYGEMACTIVERECORD51-2657683
  • published14 Apr 2022
  • disclosed9 Nov 2021

Introduced: 9 Nov 2021

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

How to fix?

Upgrade SLES:15.2 ruby2.5-rubygem-activerecord-5_1 to version 5.1.4-5.3.3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby2.5-rubygem-activerecord-5_1 package and not the ruby2.5-rubygem-activerecord-5_1 package as distributed by SLES. See How to fix? for SLES:15.2 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 Base Scores

version 3.1