CVE Vulnerabilities

CVE-2023-1894

Inefficient Regular Expression Complexity

Published: May 04, 2023 | Modified: Jan 29, 2025
CVSS 3.x
5.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS 2.x
RedHat/V2
RedHat/V3
5.3 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Ubuntu
MEDIUM

A Regular Expression Denial of Service (ReDoS) issue was discovered in Puppet Server 7.9.2 certificate validation. An issue related to specifically crafted certificate names significantly slowed down server operations.

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
Puppet_enterprise Puppet 2021.7.1 (including) 2021.7.1 (including)
Puppet_enterprise Puppet 2023.0 (including) 2023.0 (including)
Puppet_server Puppet 7.9.2 (including) 7.9.2 (including)
Red Hat Satellite 6.14 for RHEL 8 RedHat puppetserver-0:7.11.0-1.el8sat *
Red Hat Satellite 6.14 for RHEL 8 RedHat puppetserver-0:7.11.0-1.el8sat *
Puppet Ubuntu bionic *
Puppet Ubuntu kinetic *
Puppet Ubuntu trusty *
Puppet Ubuntu trusty/esm *
Puppet Ubuntu xenial *
Puppetserver Ubuntu lunar *
Puppetserver Ubuntu mantic *
Puppetserver Ubuntu trusty *
Puppetserver 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