#VU74004 Incorrect Regular Expression in URI


| Updated: 2023-06-29

Vulnerability identifier: #VU74004

Vulnerability risk: Medium

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

CVE-ID: CVE-2023-28755

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 processing URLs. A remote attacker can pass specially crafted URL to the application and perform regular expression denial of service (ReDos) attack.

Mitigation
Install update from vendor's website.

Vulnerable software versions

URI: 0.12.0, 0.11.0, 0.10.0 - 0.10.1


External links
http://www.ruby-lang.org/en/news/2023/03/28/redos-in-uri-cve-2023-28755/


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. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability