Description
Programs which compile regular expressions from untrusted sources may be vulnerable to memory exhaustion or denial of service. The parsed regexp representation is linear in the size of the input, but in some cases the constant factor can be as high as 40,000, making relatively small regexps consume much larger amounts of memory. After fix, each regexp being parsed is limited to a 256 MB memory footprint. Regular expressions whose representation would use more space than that are rejected. Normal use of regular expressions is unaffected.
Published: 2022-10-14
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2022-44891 Programs which compile regular expressions from untrusted sources may be vulnerable to memory exhaustion or denial of service. The parsed regexp representation is linear in the size of the input, but in some cases the constant factor can be as high as 40,000, making relatively small regexps consume much larger amounts of memory. After fix, each regexp being parsed is limited to a 256 MB memory footprint. Regular expressions whose representation would use more space than that are rejected. Normal use of regular expressions is unaffected.
Ubuntu USN Ubuntu USN USN-6038-1 Go vulnerabilities
History

Tue, 17 Jun 2025 15:45:00 +0000

Type Values Removed Values Added
First Time appeared Redhat stf
CPEs cpe:/a:redhat:service_telemetry_framework:1.5::el8 cpe:/a:redhat:stf:1.5::el8
Vendors & Products Redhat service Telemetry Framework
Redhat stf

Subscriptions

Golang Go
Redhat Acm Ceph Storage Container Native Virtualization Devtools Enterprise Linux Logging Ocp Tools Openshift Openshift Api Data Protection Openshift Custom Metrics Autoscaler Openshift Data Foundation Openshift Secondary Scheduler Openshift Serverless Openstack Rhel Aus Rhel E4s Rhel Tus Rhmt Rhosemc Serverless Service Interconnect Service Mesh Stf
cve-icon MITRE

Status: PUBLISHED

Assigner: Go

Published:

Updated: 2025-02-13T16:33:07.652Z

Reserved: 2022-09-28T00:00:00.000Z

Link: CVE-2022-41715

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-10-14T15:16:20.780

Modified: 2024-11-21T07:23:43.367

Link: CVE-2022-41715

cve-icon Redhat

Severity : Moderate

Publid Date: 2022-10-04T00:00:00Z

Links: CVE-2022-41715 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses