CVE-2022-24921Golang Go
High 7.5 No auth needed
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Mar 5, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-674
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
regexp.Compile in Go before 1.16.15 and 1.17.x before 1.17.8 allows stack exhaustion via a deeply nested expression.
What to do
- Apply the vendor's security update for Go.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | stdlib |
< 1.16.15 |
1.16.15 |
go get stdlib@v1.16.15 |
| Go | stdlib |
≥ 1.17.0-0 < 1.17.8 |
1.17.8 |
go get stdlib@v1.17.8 |
Per OSV / GitHub Advisories (GO-2021-0347). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | < 1.16.15 |
| golang | go | ≥ 1.17 < 1.17.8 |
| netapp | astra_trident | all |
| debian | debian_linux | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- cert-portal.siemens.com
- groups.google.com Issue Tracking Mailing List Release Notes
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org
- security.gentoo.org Third Party Advisory
- security.netapp.com Third Party Advisory