Inefficient regular expression complexity in Ruby on Rails - CVE-2024-26142

 

Inefficient regular expression complexity in Ruby on Rails - CVE-2024-26142

Published: February 26, 2024 / Updated: February 27, 2024


Vulnerability identifier: #VU86802
CSH Severity: Medium
CVSS v4: 8.7 [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]
CVE-ID: CVE-2024-26142
CWE-ID: CWE-1333
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient input validation when processing untrusted input with a regular expressions. A remote attacker can pass specially crafted data to the application and perform regular expression denial of service (ReDos) attack.


Affected software

Ruby on Rails

How to mitigate CVE-2024-26142

Install updates from vendor's website.

Ruby on Rails - update to 7.1.3.1

External References

Related Security Bulletins