cve.bz

CVE-2022-41715 golang go

7.5 highEPSS 1.7%Fix available

High (7.5) in golang go. EPSS 1.7% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.18.7, 1.19.2.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.7% (unchanged from 1.7% a week ago; 1.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 78th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-41715 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-41715?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-41715?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-41715 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Go standard library regexp/syntaxbefore 1.18.7
Go standard library regexp/syntaxfrom 1.19.0-0 before 1.19.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2022-1039Gostdlib<1.18.7
>=1.19.0-0 <1.19.2
1.18.7, 1.19.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12golang-1.191.19.2-1DEBIAN-CVE-2022-41715
Ubuntu14.04:LTSgolang-1.10no fix listedUBUNTU-CVE-2022-41715
Ubuntu16.04:LTSgolang-1.6, golang-1.10no fix listedUBUNTU-CVE-2022-41715
Ubuntu18.04:LTSgolang-1.181.18.1-1ubuntu1~18.04.4UBUNTU-CVE-2022-41715 USN-6038-1
Ubuntu18.04:LTSgolang-1.8, golang-1.9, golang-1.10no fix listedUBUNTU-CVE-2022-41715
Ubuntu20.04:LTSgolang-1.13, golang-1.14no fix listedUBUNTU-CVE-2022-41715
Ubuntu20.04:LTSgolang-1.181.18.1-1ubuntu1~20.04.2UBUNTU-CVE-2022-41715 USN-6038-1
Ubuntu22.04:LTSgolang-1.181.18.1-1ubuntu1.1UBUNTU-CVE-2022-41715 USN-6038-1
UbuntuPro:16.04:LTS, Pro:22.04:LTSgolang-1.13no fix listedUBUNTU-CVE-2022-41715
UbuntuPro:18.04:LTSgolang-1.13, golang-1.16no fix listedUBUNTU-CVE-2022-41715
UbuntuPro:20.04:LTSgolang-1.16no fix listedUBUNTU-CVE-2022-41715
Red Hatdevtools:2022go-toolset-1.18, go-toolset-1.18-build, go-toolset-1.18-golang and 8 more0:1.18.9-1.el7_9RHSA-2023:0445
Red Hatenterprise_linux:8::appstreamaardvark-dns2:1.10.0-1.module+el8.10.0+21209+52deeb51RHSA-2024:2988 RHSA-2024:3254
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more1:1.24.6-7.module+el8.9.0+20656+56f336b9RHSA-2024:0121
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more2:1.33.6-2.module+el8.10.0+21371+46937eceRHSA-2024:2988
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more2:1.33.7-1.module+el8.10.0+21590+d7d75709RHSA-2024:3254
Red Hatenterprise_linux:8::appstreamcockpit-podman0:46-1.module+el8.9.0+20656+56f336b9RHSA-2024:0121
Red Hatenterprise_linux:8::appstreamcockpit-podman0:84.1-1.module+el8.10.0+21373+0d273fdfRHSA-2024:2988 RHSA-2024:3254
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource2:2.1.4-2.module+el8.9.0+20656+56f336b9RHSA-2024:0121
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource3:2.1.10-1.module+el8.10.0+21077+98b84d8aRHSA-2024:2988 RHSA-2024:3254
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.205.0-3.module+el8.9.0+20656+56f336b9RHSA-2024:0121
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.229.0-2.module+el8.10.0+21196+3f0abbcaRHSA-2024:2988 RHSA-2024:3254
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource1:1.1.1-6.module+el8.9.0+20875+8dd9d5d2RHSA-2024:0121
277 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The opportunity for a Denial of Service is limited to the golang runtime. In the case of OpenShift Container Platform, this would be restricted within each individual container. There are multiple layers of guide rails (Golang’s Garbage Collector; OpenShift’s resource constraints imposed at the container and cluster levels) which would require a malicious user to continue submitting attacks for there to be any enduring impact. They would also need access to external server resources to be able to send a massive volume of requests to cause a significant impact on server operations.

ProductPackageStateAdvisory
OADP-1.1-RHEL-8oadp/oadp-velero-rhel8:1.1.2-16Fixed 2023-03-09RHSA-2023:1174
OpenShift Custom Metrics Autoscaler 2custom-metrics-autoscaler-tech-preview/custom-metrics-autoscaler-rhel8:2.8.2-143Fixed 2023-03-06RHSA-2023:1042
Openshift Serverless 1 on RHEL 8openshift-serverless-clients-0:1.6.1-1.el8Fixed 2023-02-09RHSA-2023:0708
OSSO-1.1-RHEL-8openshift-secondary-scheduler-operator/secondary-scheduler-operator-rhel8:v1.1-26Fixed 2023-05-18RHSA-2023:0584
Red Hat Ceph Storage 6.1rhceph/rhceph-6-dashboard-rhel9:6-75Fixed 2023-06-15RHSA-2023:3642
Red Hat Developer Toolsgo-toolset-1.18-0:1.18.9-1.el7_9Fixed 2023-01-25RHSA-2023:0445
Red Hat Developer Toolsgo-toolset-1.18-golang-0:1.18.9-1.el7_9Fixed 2023-01-25RHSA-2023:0445
Red Hat Enterprise Linux 8go-toolset:rhel8-8070020230116141618.ded9a3e2Fixed 2023-01-25RHSA-2023:0446
Red Hat Enterprise Linux 8osbuild-composer-0:75-1.el8Fixed 2023-05-16RHSA-2023:2780
Red Hat Enterprise Linux 8weldr-client-0:35.9-2.el8Fixed 2023-05-16RHSA-2023:2780
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-controller-rhel9Affected
mirror registry for Red Hat OpenShiftmirror-registry-containerAffected
Node HealthCheck Operatorworkload-availability/node-healthcheck-rhel8-operatorAffected
Node Maintenance Operatorworkload-availability/node-maintenance-rhel8-operatorAffected
OpenShift Developer Tools and ServiceshelmAffected
OpenShift Developer Tools and Servicesocp-tools-4/jenkins-rhel8Affected
OpenShift Developer Tools and ServicesodoAffected
OpenShift Pipelinesopenshift-pipelines-clientWill not fix
Red Hat 3scale API Management Platform 23scale-amp2/3scale-rhel7-operatorAffected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/subctl-rhel9Affected
516 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-41715.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-046-11Siemens SCALANCE XCM-/XRM-3002024-02-13MultipleSCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON