Incorrect regular expression in rubygems globalid



Published: 2023-02-09
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2023-22799
CWE-ID CWE-185
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
globalid
Universal components / Libraries / Programming Languages & Components

Vendor rubygems.org

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Incorrect Regular Expression

EUVDB-ID: #VU72084

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-22799

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 incorrect parsing of model name. A remote attacker can pass specially crafted input to the application and consume excessive CPU resources, resulting in regular expression denial of service.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

globalid: 0.2.1 - 1.0.0

External links

http://github.com/advisories/GHSA-23c2-gwp5-pxw9
http://github.com/rails/globalid/commit/3bc4349422e60f2235876a59dd415e98b072eb2b
http://bugzilla.redhat.com/show_bug.cgi?id=2164730


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###