CVE Vulnerabilities

CVE-2023-22799

Inefficient Regular Expression Complexity

Published: Feb 09, 2023 | Modified: Feb 16, 2023
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

A ReDoS based DoS vulnerability in the GlobalID <1.0.1 which could allow an attacker supplying a carefully crafted input can cause the regular expression engine to take an unexpected amount of time. All users running an affected release should either upgrade or use one of the workarounds immediately.

Weakness

The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.

Affected Software

Name Vendor Start Version End Version
Globalid Rubyonrails 0.2.1 (including) 1.0.1 (excluding)
Red Hat Satellite 6.14 for RHEL 8 RedHat rubygem-globalid-0:1.1.0-1.el8sat *
Ruby-globalid Ubuntu bionic *
Ruby-globalid Ubuntu kinetic *
Ruby-globalid Ubuntu lunar *
Ruby-globalid Ubuntu mantic *
Ruby-globalid Ubuntu trusty *
Ruby-globalid Ubuntu xenial *

Extended Description

	  Attackers can create crafted inputs that
	  intentionally cause the regular expression to use
	  excessive backtracking in a way that causes the CPU
	  consumption to spike.

Potential Mitigations

References