#VU77803 Incorrect Regular Expression in URI


Vulnerability identifier: #VU77803

Vulnerability 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-2023-36617

CWE-ID: CWE-185

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
URI
Universal components / Libraries / Programming Languages & Components

Vendor: rubygems.org

Description

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

The vulnerability exists due to insufficient input validation when parsing URL. A remote attacker can pass specially crafted URL to the application and perform regular expression denial of service (ReDos) attack.

Note, the vulnerability exists due to incomplete fix for #VU74004 (CVE-2023-28755).

Mitigation
Install updates from vendor's website.

Vulnerable software versions

URI: 0.10.0 - 0.10.2, 0.12.0 - 0.12.1


External links
http://www.ruby-lang.org/en/news/2023/06/29/redos-in-uri-CVE-2023-36617/


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.


Latest bulletins with this vulnerability