Vulnerability identifier: #VU99671
Vulnerability risk: Medium
CVSSv4.0: 6.6 [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/E:U/U:Green]
CVE-ID: CVE-2024-47887
CWE-ID:
CWE-1333
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
actionpack
Web applications /
Modules and components for CMS
Vendor: Ruby
Description
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.
Mitigation
Install update from vendor's website.
Vulnerable software versions
actionpack: 4.0.0 rc1 - 4.0.13, 4.1.0 rc1 - 4.1.16, 4.2.0 rc1 - 4.2.11.3, 5.0.0.racecar1 - 5.0.7.2, 5.1.0 rc1 - 5.1.7, 5.2.0 rc1 - 5.2.8.1, 6.0.0 rc1 - 6.0.6.1, 6.1.0 rc1 - 6.1.7.8, 7.0.0 alpha1 - 7.0.8.4, 7.1.0 rc1 - 7.1.4, 7.2.0 beta1 - 7.2.1
External links
https://github.com/rails/rails/security/advisories/GHSA-vfg9-r3fq-jvx4
https://github.com/rails/rails/commit/56b2fc3302836405b496e196a8d5fc0195e55049
https://github.com/rails/rails/commit/7c1398854d51f9bb193fb79f226647351133d08a
https://github.com/rails/rails/commit/8e057db25bff1dc7a98e9ae72e0083825b9ac545
https://github.com/rails/rails/commit/f4dc83d8926509d0958ec21fcdbc2e7df3d32ce2
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.