CVE-2022-24921
golang: regexp: stack exhaustion via a deeply nested expression
Overview
Description
regexp.Compile in Go before 1.16.15 and 1.17.x before 1.17.8 allows stack exhaustion via a deeply nested expression.
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
Weakness: CWE-674
Affected packages · 2
Operating systems · 77 fixes
Azure Linux 1 release · 1 package
fixed 1
python-tensorboard
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | python-tensorboard | 0:2.16.2-2.azl3 |
Oracle Linux 2 releases · 5 packages
fixed 7
istio
olcne-agent
golang
go-toolset
delve
| Release | Package | Fixed in |
|---|---|---|
| 7 | istio +1 | 1.13.2-1.el7 |
| 7 | olcne-agent +10 | 1.4.3-1.el7 |
| 8 | istio +1 | 1.13.2-1.el8 |
| 8 | golang +6 | 1.17.10-1.0.1.module+el8.6.0+20677+d06d1f12 |
| 8 | go-toolset | 1.17.10-1.module+el8.6.0+20677+d06d1f12 |
| 8 | olcne-agent +10 | 1.4.3-1.el8 |
1 more row
Photon OS 1 release · 2 packages
fixed 2
go
kubernetes-dashboard
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | go | 1.18.1-1.ph4 |
| 4.0 | kubernetes-dashboard | 2.7.0-1.ph4 |
Red Hat 5 releases · 41 packages
eol 2
wont fix 3
fixed 47
affected 1
heketi
golang
atomic-openshift
go-toolset-1-17-golang
cri-tools
cri-o
+35
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| heketi +2 | eol | — | |
| golang +9 | wont fix | — | |
| 7 | golang +17 | eol | — |
| 7 | atomic-openshift +12 | wont fix | — |
| 7 | go-toolset-1-17-golang +6 | 0:1.17.10-1.el7_9 | RHSA-2022:5415 |
| 7 | cri-tools | 0:1.23.0-1.1.el7 | RHSA-2022:5729 |
47 more rows
alpine 4 releases · 1 package
fixed 4
go
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | go | 1.17.8-r0 |
| 3.23 | go | 1.17.8-r0 |
| 3.24 | go | 1.17.8-r0 |
| edge | go | 1.17.8-r0 |
amazon linux 1 release · 1 package
fixed 1
golang
| Release | Package | Fixed in |
|---|---|---|
| 2023 | golang +7 | 1.19.3-2.amzn2023.0.2 |
debian 3 releases · 4 packages
fixed 4
golang-1-11
golang-1-15
golang-1-7
golang-1-8
| Release | Package | Fixed in |
|---|---|---|
| 10 | golang-1-11 | 1.11.6-1+deb10u6 |
| 11 | golang-1-15 | 1.15.15-1~deb11u4 |
| 9 | golang-1-7 | 1.7.4-2+deb9u5 |
| 9 | golang-1-8 | 1.8.1-1+deb9u5 |
openSUSE 1 release · 2 packages
fixed 2
go1-16
go1-17
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | go1-16 +2 | 1.16.15-1.1 | openSUSE-SU-2024:11892-1 |
| Tumbleweed | go1-17 +2 | 1.17.8-1.1 | openSUSE-SU-2024:11893-1 |
rocky 2 releases · 2 packages
fixed 3
go-toolset
delve
| Release | Package | Fixed in |
|---|---|---|
| 8 (go-toolset:rhel8) | go-toolset +7 | 1.17.10-1.module+el8.6.0+986+efe4cea4 |
| 8 (go-toolset:rhel8) | delve | 1.7.2-1.module+el8.6.0+824+8e984c20 |
| 9 | go-toolset +7 | 1.17.12-1.el9_0 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2022:5337
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-24921
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2077688
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2077689
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2084085
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/pdf/ssa-744259.pdf
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24675
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24921
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-28327
Show all 26 references
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-29526
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2022:5337
- go.dev https://go.dev/cl/384616
- go.dev https://go.dev/issue/51112
- go.googlesource.com https://go.googlesource.com/go/+/452f24ae94f38afa3704d4361d91d51218405c0a
- groups.google.com https://groups.google.com/g/golang-announce/c/RP1hfrBYVuk
- linux.oracle.com https://linux.oracle.com/cve/CVE-2022-24921.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2022-9363.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/04/msg00017.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/04/msg00018.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-24921
- pkg.go.dev https://pkg.go.dev/vuln/GO-2021-0347
- security.gentoo.org https://security.gentoo.org/glsa/202208-02
- security.netapp.com https://security.netapp.com/advisory/ntap-20220325-0010/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-24921
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.