CVE-2022-24675Golang Go
High 7.5 No auth needed
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 3.1
- 7.5
- EPSS
- 6.9% probability of exploitation in 30 days · percentile 95
- Auth required
- No
- Published
- Apr 20, 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
encoding/pem in Go before 1.17.9 and 1.18.x before 1.18.1 has a Decode stack overflow via a large amount of PEM data.
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.17.9 |
1.17.9 |
go get stdlib@v1.17.9 |
| Go | stdlib |
≥ 1.18.0-0 < 1.18.1 |
1.18.1 |
go get stdlib@v1.18.1 |
Per OSV / GitHub Advisories (GO-2022-0433). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | < 1.17.9 |
| golang | go | ≥ 1.18.0 < 1.18.1 |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
| fedoraproject | fedora | 36 |
| netapp | kubernetes_monitoring_operator | all |
Official advisories
- Red Hat Security Advisory: Release of OpenShift Serverless Client kn 1.24.0 · Red Hat · RHSA-2022:6042 · Sep 30, 2024 High
- Red Hat Security Advisory: go-toolset and golang security and bug fix update · Red Hat · RHSA-2022:5799 · Sep 30, 2024 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- cert-portal.siemens.com
- groups.google.com Mailing List Vendor Advisory
- groups.google.com Mailing List Release Notes Vendor Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org Third Party Advisory
- security.netapp.com Third Party Advisory