Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2022-41715

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

Overview

Published
14 Oct 2022
Modified
17 Jun 2026
High CVE
2 Registry packages
293 OS packages
16 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages · 2

Packages affected by CVE-2022-41715
EcosystemPackageVulnerableFixed in
Bitnami golang <1.18.7>=1.19.0, <1.19.2 1.18.71.19.2
Go stdlib <1.18.7>=1.19.0-0, <1.19.2 1.18.71.19.2

Open a package to see all its vulnerabilities.

Operating systems · 467 fixes

Oracle Linux 2 releases · 29 packages

fixed 36
udica fuse-overlayfs crun go-toolset golang oci-seccomp-bpf-hook +23
Oracle Linux fixes for CVE-2022-41715
ReleasePackageFixed in
8 udica 0.2.6-21.module+el8.10.0+90337+0d7b6e74
8 fuse-overlayfs 1.13-1.module+el8.10.0+90298+77a9814d
8 crun 1.14.3-2.module+el8.10.0+90298+77a9814d
8 go-toolset 1.19.4-1.module+el8.7.0+20922+47ac84ba
8 golang +6 1.19.4-2.0.1.module+el8.7.0+20922+47ac84ba
8 oci-seccomp-bpf-hook 1.2.10-1.module+el8.10.0+90298+77a9814d

30 more rows

Photon OS 2 releases · 3 packages

fixed 4
go kubernetes-dashboard falco
Photon OS fixes for CVE-2022-41715
ReleasePackageFixed in
4.0 go 1.19.2-1.ph4
4.0 kubernetes-dashboard 2.7.0-1.ph4
5.0 falco 0.32.2-6.0601037001.ph5
5.0 go 1.26.3-1.ph5

Red Hat 8 releases · 105 packages

eol 2 affected 1 fixed 231 wont fix 2
go-toolset-7-golang buildah golang go-toolset-1-18 toolbox python3-iso8601 +99
Red Hat fixes for CVE-2022-41715
ReleasePackageFixed inAdvisory
go-toolset-7-golang +8 eol —
7 buildah +6 affected —
7 golang +2 eol —
7 go-toolset-1-18 +10 0:1.18.9-1.el7_9 RHSA-2023:0445
8 toolbox 0:0.1.0-1.rhaos4.12.el8 RHSA-2022:7398
8 toolbox 0:0.1.1-3.rhaos4.12.el8 RHSA-2023:0727

230 more rows

SUSE Linux Enterprise 4 releases · 5 packages

fixed 6
golang-github-prometheus-node-exporter go1-18-openssl go1-18 go1-19 golang-github-prometheus-prometheus
SUSE Linux Enterprise fixes for CVE-2022-41715
ReleasePackageFixed inAdvisory
12.5 golang-github-prometheus-node-exporter 1.5.0-1.24.4 SUSE-SU-2023:2183-1
15.4 go1-18-openssl +2 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
15.4 go1-18 +2 1.18.7-150000.1.34.1 SUSE-SU-2022:3668-1
15.4 go1-19 +2 1.19.2-150000.1.12.1 SUSE-SU-2022:3669-1
15.5 golang-github-prometheus-prometheus 2.37.6-150100.4.17.1 SUSE-SU-2023:2598-1
15.6 golang-github-prometheus-prometheus 2.45.6-150100.4.20.1 SUSE-SU-2024:3288-1

alma 5 releases · 27 packages

fixed 51
git-lfs weldr-client grafana osbuild-composer toolbox udica +21
alma fixes for CVE-2022-41715
ReleasePackageFixed in
8 git-lfs 3.2.0-2.el8
8 weldr-client 35.9-2.el8
8 grafana 7.5.15-4.el8
8 osbuild-composer +3 75-1.el8.alma
8 (container-tools:4.0) toolbox +1 0.0.99.4-5.module_el8.9.0+3627+db8ec155
8 (container-tools:4.0) udica 0.2.6-4.module_el8.9.0+3627+db8ec155

45 more rows

alpine 4 releases · 1 package

fixed 4
go
alpine fixes for CVE-2022-41715
ReleasePackageFixed in
3.22 go 1.19.2-r0
3.23 go 1.19.2-r0
3.24 go 1.19.2-r0
edge go 1.19.2-r0

amazon linux 1 release · 2 packages

fixed 2
golist golang
amazon linux fixes for CVE-2022-41715
ReleasePackageFixed in
2023 golist +2 0.10.1-11.amzn2023.0.3
2023 golang +7 1.19.3-2.amzn2023.0.2

chainguard 1 release · 1 package

fixed 1
kubeflow-katib
chainguard fixes for CVE-2022-41715
ReleasePackageFixed in
kubeflow-katib 0.19.0-r40

debian 3 releases · 3 packages

affected 2 fixed 1
golang-1-11 golang-1-15 golang-1-19
debian fixes for CVE-2022-41715
ReleasePackageFixed in
10 golang-1-11 affected
11 golang-1-15 affected
12 golang-1-19 1.19.2-1

echo 1 release · 1 package

fixed 1
golang-1-19
echo fixes for CVE-2022-41715
ReleasePackageFixed in
golang-1-19 1.19.2-1

openSUSE 1 release · 3 packages

fixed 3
go1-18 go1-19 golang-github-prometheus-prometheus
openSUSE fixes for CVE-2022-41715
ReleasePackageFixed inAdvisory
Tumbleweed go1-18 +2 1.18.7-1.1 openSUSE-SU-2024:12391-1
Tumbleweed go1-19 +2 1.19.2-1.1 openSUSE-SU-2024:12392-1
Tumbleweed golang-github-prometheus-prometheus 2.48.1-2.1 openSUSE-SU-2024:13604-1

rocky 4 releases · 22 packages

fixed 109
udica slirp4netns oci-seccomp-bpf-hook fuse-overlayfs runc buildah +16
rocky fixes for CVE-2022-41715
ReleasePackageFixed in
8 (container-tools:4.0) udica 0.2.6-4.module+el8.9.0+1445+07728297
8 (container-tools:4.0) slirp4netns 1.1.8-3.module+el8.9.0+1445+07728297
8 (container-tools:4.0) oci-seccomp-bpf-hook 1.2.5-2.module+el8.9.0+1445+07728297
8 (container-tools:4.0) fuse-overlayfs 1.9-2.module+el8.9.0+1445+07728297
8 (container-tools:4.0) runc 1:1.1.5-2.module+el8.9.0+1445+07728297
8 (container-tools:4.0) buildah +1 1:1.24.6-7.module+el8.9.0+1445+07728297

103 more rows

root.io debian 1 release · 1 package

fixed 1
rootio-golang-1-19
root.io debian fixes for CVE-2022-41715
ReleasePackageFixed in
12 rootio-golang-1-19 1.19.2-1

seal Red Hat 1 release · 1 package

fixed 1
python-jinja2
seal Red Hat fixes for CVE-2022-41715
ReleasePackageFixed in
7 python-jinja2 +1 2.7.2-4.el7+sp999

ubuntu 5 releases · 2 packages

fixed 5 affected 3
golang-1-18 golang-1-13
ubuntu fixes for CVE-2022-41715
ReleasePackageFixed in
18.04 golang-1-18 1.18.1-1ubuntu1~18.04.4
18.04-ESM golang-1-13 +3 affected
18.04-ESM golang-1-18 1.18.1-1ubuntu1~18.04.4
20.04 golang-1-18 1.18.1-1ubuntu1~20.04.2
20.04-ESM golang-1-13 +2 affected
20.04-ESM golang-1-18 1.18.1-1ubuntu1~20.04.2

2 more rows

wolfi 1 release · 1 package

fixed 1
kubeflow-katib
wolfi fixes for CVE-2022-41715
ReleasePackageFixed in
kubeflow-katib 0.19.0-r40

References

Show all 27 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.