Skip to content
Fencer Vulns
high 7.5

CVE-2022-41715 json

Memory exhaustion when compiling regular expressions in regexp/syntax

published 2022-10-06 4 y ago modified 2026-09-08 2 mo ago also BIT-golang-2022-41715 , EUVD-2022-44891 , GO-2022-1039

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.7%
EPSS 1.7% chance of exploitation in 30 days, percentile 77%
public exploits
0
none known

Summary

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.

Patch / fix

  • bitnami golang 1.18.7, 1.19.2
  • go stdlib 1.18.7, 1.19.2
  • Go standard library regexp/syntax 1.18.7, 1.19.2
  • golang-1.19 Debian 12 1.19.2-1

debian advisories DEBIAN-CVE-2022-41715

  • golang-1.18 Ubuntu 18.04 LTS 1.18.1-1ubuntu1~18.04.4
  • golang-1.18 Ubuntu 20.04 LTS 1.18.1-1ubuntu1~20.04.2
  • golang-1.18 Ubuntu 22.04 LTS 1.18.1-1ubuntu1.1

ubuntu advisories UBUNTU-CVE-2022-41715

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • crit RHEL 8 3.18-5.module+el8.10.0+21672+01ba06ae
  • criu RHEL 8 3.18-5.module+el8.10.0+21672+01ba06ae
  • crun RHEL 8 1.14.3-2.module+el8.10.0+21340+c6c7475a
  • runc RHEL 8 1:1.1.12-1.module+el8.10.0+21251+62b7388c
  • udica RHEL 8 0.2.6-21.module+el8.10.0+21672+01ba06ae
  • conmon RHEL 8 3:2.1.10-1.module+el8.10.0+21077+98b84d8a
  • podman RHEL 8 4:4.9.4-1.module+el8.10.0+21632+761e0d34
  • skopeo RHEL 8 2:1.14.3-2.module+el8.10.0+21728+a1d9b0ab

red hat advisories RHSA-2024:3254RHSA-2024:2988RHSA-2024:2586RHSA-2024:0121RHSA-2023:0446RHSA-2023:4003

  • golang-github-prometheus-prometheus SLE Module for Package Hub 15 SP6, SLE Module for Package Hub 15 SP5, openSUSE Leap 15.6 +2 more 2.45.6-150100.4.20.1
  • grafana Manager Client Tools 15 9.5.8-150000.1.60.2
  • spacecmd openSUSE Leap 15.5, Manager Client Tools 15 4.3.26-150000.3.113.1
  • mgr-daemon Manager Client Tools 15 4.3.8-150000.1.44.1
  • spacewalk-client-tools Manager Client Tools 15 4.3.18-150000.3.86.2
  • prometheus-postgres_exporter openSUSE Leap 15.5, Manager Client Tools 15 0.10.1-150000.1.17.1
  • uyuni-proxy-systemd-services Manager Client Tools for SLE Micro 5, Manager Client Tools 15 4.3.10-150000.1.15.1
  • golang-github-prometheus-prometheus Manager Client Tools 15 2.45.0-150000.3.53.1

suse advisories SUSE-SU-2024:3288-1SUSE-SU-2024:0487-1SUSE-SU-2024:0486-1SUSE-SU-2024:0196-1SUSE-SU-2024:0191-1SUSE-SU-2023:2598-1

  • go1.18 openSUSE Tumbleweed 1.18.7-1.1
  • go1.19 openSUSE Tumbleweed 1.19.2-1.1
  • golang-github-prometheus-prometheus openSUSE Tumbleweed 2.48.1-2.1

opensuse advisories openSUSE-SU-2024:12391-1openSUSE-SU-2024:12392-1openSUSE-SU-2024:13604-1

  • crit AlmaLinux 8 3.18-5.module_el8.10.0+3845+87b84552
  • criu AlmaLinux 8 3.18-5.module_el8.10.0+3845+87b84552
  • crun AlmaLinux 8 1.14.3-2.module_el8.10.0+3845+87b84552
  • runc AlmaLinux 8 1:1.1.12-1.module_el8.10.0+3845+87b84552
  • udica AlmaLinux 8 0.2.6-21.module_el8.10.0+3845+87b84552
  • conmon AlmaLinux 8 3:2.1.10-1.module_el8.10.0+3845+87b84552
  • podman AlmaLinux 8 4:4.9.4-1.module_el8.10.0+3845+87b84552
  • skopeo AlmaLinux 8 2:1.14.3-2.module_el8.10.0+3845+87b84552

almalinux advisories ALSA-2024:3254ALSA-2024:0121ALSA-2023:2780ALSA-2023:2784ALSA-2023:2866ALSA-2023:2167

  • criu Rocky Linux 8 3.15-3.module+el8.9.0+1445+07728297
  • runc Rocky Linux 8 1:1.1.5-2.module+el8.9.0+1445+07728297
  • udica Rocky Linux 8 0.2.6-4.module+el8.9.0+1445+07728297
  • conmon Rocky Linux 8 2:2.1.4-2.module+el8.9.0+1445+07728297
  • skopeo Rocky Linux 8 2:1.6.2-9.module+el8.9.0+1578+aa900b44
  • buildah Rocky Linux 8 1:1.24.6-7.module+el8.9.0+1445+07728297
  • libslirp Rocky Linux 8 4.4.0-1.module+el8.9.0+1445+07728297
  • slirp4netns Rocky Linux 8 1.1.8-3.module+el8.9.0+1445+07728297

rocky linux advisories RLSA-2024:0121RLSA-2024:2988RLSA-2024:3254RLSA-2023:0446RLSA-2023:0328

  • go Alpine 3.16 1.18.7-r0
  • go Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 1.19.2-r0

alpine advisories ALPINE-CVE-2022-41715

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • golang CBL-Mariner 2.0 1.19.5-1
  • golang CBL-Mariner 2.0 1.21.6-1

azure linux advisories AZL-11130AZL-37407

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-41715 updated cvss 6.5

golang: regexp/syntax: limit memory used by parsing regexps

  • Red Hat Migration Toolkit for Virtualization migration-toolkit-virtualization/mtv-controller-rhel9 Red Hat mirror registry for Red Hat OpenShift mirror-registry-container Red Hat Node HealthCheck Operator workload-availability/node-healthcheck-rhel8-operator Red Hat Node Maintenance Operator workload-availability/node-maintenance-rhel8-operator Red Hat OpenShift Developer Tools and Services odo, helm, ocp-tools-4/jenkins-rhel8
    affected: no fix available
  • Red Hat OpenShift Pipelines openshift-pipelines-client
    affected: no fix planned “Will not fix”
  • Red Hat 3scale API Management Platform 2 3scale-amp26/3scale-operator Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/subctl-rhel8 Red Hat Advanced Cluster Security 3 advanced-cluster-security/rhacs-main-rhel8 Red Hat AMQ Broker 7 ansible-automation-platform-24/controller-rhel8-operator Red Hat Ansible Automation Platform 2 receptor, openshift-clients Red Hat Application Interconnect 1.0 skupper-cli, openshift4/egress-router-cni-rhel8
    affected: no fix available
  • Red Hat Ceph Storage 3 golang, golang-bin, golang-src
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 runc, podman, skopeo, buildah, podman-tests, skopeo-tests, +10 more
    affected: no fix available, no fix planned “Will not fix”
  • Red Hat Enterprise Linux 9 runc, butane, podman, skopeo, buildah, ignition, +13 more
    affected: no fix planned “Will not fix”
  • Red Hat OpenShift Container Platform 4 openshift-golang-builder-container Red Hat Openshift Data Foundation 4 mcg
    affected: no fix available
  • Red Hat OpenShift Dev Spaces devspaces/devspaces-rhel8-operator
    affected: no fix planned “Will not fix”
show 20 more
  • Red Hat OpenShift GitOps openshift-gitops-kam, openshift-gitops-1/gitops-rhel8
    affected: no fix available
  • Red Hat OpenShift on AWS rosa
    affected: no fix planned “Will not fix”
  • Red Hat Openshift Sandboxed Containers openshift-sandboxed-containers/osc-rhel8-operator
    affected: no fix available “Fix deferred”
  • Red Hat OpenStack Platform 16.2 golang-qpid-apache, collectd-libpod-stats
    affected: no fix planned “Will not fix”
  • Red Hat Quay 3 quay/clair-rhel8
    affected: no fix available
  • Red Hat Storage 3 golang, heketi, golang-bin, golang-src, golang-misc, golang-tests, +3 more
    affected: no fix planned “Out of support scope”
  • Red Hat Web Terminal web-terminal-exec-container
    affected: no fix available “Fix deferred”
  • Red Hat Self Node Remediation Operator workload-availability/self-node-remediation-rhel8-operator
    affected: no fix available
  • Red Hat Service Telemetry Framework 1.4 for RHEL 8 stf/sg-core-rhel8
    affected: no fix planned “Will not fix”
  • Red Hat Ceph Storage 5 rhceph/rhceph-5-dashboard-rhel8
    under investigation
  • Red Hat CNV 4.13 for RHEL 9 container-native-virtualization/virt-api-rhel9 v4.13.0--2022-101182, container-native-virtualization/virtio-win-rhel9 v4.13.0--2022-101182, container-native-virtualization/kubemacpool-rhel9 v4.13.0--2022-101182, container-native-virtualization/virt-handler-rhel9 v4.13.0--2022-101182, container-native-virtualization/bridge-marker-rhel9 v4.13.0--2022-101182, container-native-virtualization/multus-dynamic-networks-rhel9 v4.13.0-37, +40 more
    fixed: vendor fix RHSA-2023:3205
  • Red Hat Middleware Containers for OpenShift amq7/amq-broker-rhel8-operator 7.12.0-16, amq7/amq-broker-rhel8-operator-bundle 7.12.0-10
    fixed: vendor fix RHSA-2024:2944
  • Red Hat OpenShift API for Data Protection 1.1 oadp/oadp-velero-rhel8 1.1.2-16
    fixed: vendor fix RHSA-2023:1174
  • Red Hat OpenShift Custom Metrics Autoscaler 2 custom-metrics-autoscaler-tech-preview/custom-metrics-autoscaler-rhel8 2.8.2-143
    fixed: vendor fix RHSA-2023:1042
  • Red Hat OSSO 1.1 for RHEL 8 openshift-secondary-scheduler-operator/secondary-scheduler-operator-rhel8 v1.1-26
    fixed: vendor fix RHSA-2023:0584
  • Red Hat Ceph Storage 6.1 Tools rhceph/rhceph-6-dashboard-rhel9 6-75
    fixed: vendor fix RHSA-2023:3642
  • Red Hat Developer Tools for Red Hat Enterprise Linux Server (v. 7) go-toolset-1.18 1.18.9-1.el7_9, go-toolset-1.18-build 1.18.9-1.el7_9, go-toolset-1.18-golang 1.18.9-1.el7_9, go-toolset-1.18-runtime 1.18.9-1.el7_9, go-toolset-1.18-scldevel 1.18.9-1.el7_9, go-toolset-1.18-golang-bin 1.18.9-1.el7_9, +4 more Red Hat Developer Tools for Red Hat Enterprise Linux Workstation (v. 7) go-toolset-1.18 1.18.9-1.el7_9, go-toolset-1.18-build 1.18.9-1.el7_9, go-toolset-1.18-golang 1.18.9-1.el7_9, go-toolset-1.18-runtime 1.18.9-1.el7_9, go-toolset-1.18-scldevel 1.18.9-1.el7_9, go-toolset-1.18-golang-bin 1.18.9-1.el7_9, +4 more
    fixed: vendor fix RHSA-2023:0445
  • Red Hat Enterprise Linux AppStream (v. 8) git-lfs 3.2.0-2.el8, grafana 7.5.15-4.el8, weldr-client 35.9-2.el8, osbuild-composer 75-1.el8, osbuild-composer-core 75-1.el8, osbuild-composer-worker 75-1.el8, +92 more
    fixed: vendor fix RHSA-2024:2988
  • Red Hat Enterprise Linux AppStream (v. 9) git-lfs 3.2.0-1.el9, grafana 9.0.9-2.el9, golang 1.18.9-1.el9_1, weldr-client 35.9-1.el9, golang-bin 1.18.9-1.el9_1, golang-src 1.18.9-1.el9_1, +7 more
    fixed: vendor fix RHSA-2023:0328
  • Red Hat Enterprise Linux AppStream AUS (v.8.4) crit 3.15-1.module+el8.4.0+21529+674bace2, criu 3.15-1.module+el8.4.0+21529+674bace2, crun 0.18-2.module+el8.4.0+21529+674bace2, udica 0.2.4-1.module+el8.4.0+21529+674bace2, skopeo 1.2.2-9.module+el8.4.0+21529+674bace2, conmon 2.0.26-1.module+el8.4.0+21529+674bace2, +20 more Red Hat Enterprise Linux AppStream E4S (v.8.4) crit 3.15-1.module+el8.4.0+21529+674bace2, criu 3.15-1.module+el8.4.0+21529+674bace2, crun 0.18-2.module+el8.4.0+21529+674bace2, udica 0.2.4-1.module+el8.4.0+21529+674bace2, skopeo 1.2.2-9.module+el8.4.0+21529+674bace2, conmon 2.0.26-1.module+el8.4.0+21529+674bace2, +20 more
    fixed: vendor fix RHSA-2024:2586

16 more fixed, 23 more not affected in the full advisory

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-24-046-11 updated cvss 7.5

Siemens SCALANCE XCM-/XRM-300

  • Siemens SCALANCE XCH328 (6GK5328-4TS01-2EC2) <V2.4 Siemens SCALANCE XCM324 (6GK5324-8TS01-2AC2) <V2.4 Siemens SCALANCE XCM328 (6GK5328-4TS01-2AC2) <V2.4 Siemens SCALANCE XCM332 (6GK5332-0GA01-2AC2) <V2.4 Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) (6GK5334-2TS01-2ER3) <V2.4 Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) (6GK5334-2TS01-4AR3) <V2.4
    +5 more products
    Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) (6GK5334-3TS01-4AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 8xFO) (6GK5334-2TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 12xFO) (6GK5334-3TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 8xFO) (6GK5334-2TS01-3AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 12xFO) (6GK5334-3TS01-3AR3) <V2.4
    affected: fixed in V2.4 support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

Exploit prediction

1.73% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
bitnami golang
<1.18.7
>=1.19.0, <1.19.2
1.18.7
1.19.2
go stdlib
<1.18.7
>=1.19.0-0, <1.19.2
1.18.7
1.19.2

Affected products

  • Go standard library regexp/syntax

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.