Multiple vulnerabilities in Rack



Published: 2024-03-04
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2024-26141
CVE-2024-25126
CWE-ID CWE-20
CWE-185
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Rack
Web applications / Modules and components for CMS

Vendor Rack

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Input validation error

EUVDB-ID: #VU87009

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2024-26141

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

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

The vulnerability exists due to insufficient validation of user-supplied input within the Range request header in Rack. A remote attacker can pass specially crafted input to the application and perform a denial of service (DoS) attack.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Rack: 1.0.0 - 3.0.9

External links

http://github.com/rack/rack/security/advisories/GHSA-xj5v-6v4g-jfw6
http://github.com/rack/rack/commit/4849132bef471adb21131980df745f4bb84de2d9
http://github.com/rack/rack/commit/62457686b26d33a15a254c7768c2076e8e02b48b
http://discuss.rubyonrails.org/t/possible-dos-vulnerability-with-range-header-in-rack/84944
http://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-26141.yml


Q & A

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.

2) Incorrect Regular Expression

EUVDB-ID: #VU87010

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2024-25126

CWE-ID: CWE-185 - Incorrect Regular Expression

Exploit availability: No

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 regular expressions in content type parsing (2nd degree polynomial). 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

Rack: 0.4 - 3.0.9

External links

http://github.com/rack/rack/security/advisories/GHSA-22f2-v57c-j9cx
http://github.com/rack/rack/commit/6efb2ceea003c4b195815a614e00438cbd543462
http://github.com/rack/rack/commit/d9c163a443b8cadf4711d84bd2c58cb9ef89cf49
http://discuss.rubyonrails.org/t/denial-of-service-vulnerability-in-rack-content-type-parsing/84941
http://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-25126.yml


Q & A

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.



###SIDEBAR###