CVE-2022-24675 json
Stack overflow from a large amount of PEM data in encoding/pem
published 2022-04-20 4 y ago modified 2026-10-16 23 d ago also BIT-golang-2022-24675 , EUVD-2022-29547 , GO-2022-0433
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 10.0%
- EPSS 10.0% chance of exploitation in 30 days, percentile 95%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami golang 1.17.9, 1.18.1
- go stdlib 1.17.9, 1.18.1
- golang go 1.17.9, 1.18.1
- golang-1.18 Ubuntu 18.04 LTS 1.18.1-1ubuntu1~18.04.3
- golang-1.18 Ubuntu 20.04 LTS 1.18.1-1ubuntu1~20.04.1
- golang-1.18 Ubuntu 22.04 LTS 1.18.1-1ubuntu1
ubuntu advisories UBUNTU-CVE-2022-24675
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
- delve RHEL 8 1.7.2-1.module+el8.6.0+12972+ebab5911
- golang RHEL 8 1.17.10-1.module+el8.6.0+15486+6d4da7db
- go-toolset RHEL 8 1.17.10-1.module+el8.6.0+15486+6d4da7db
- golang-bin RHEL 8 1.17.10-1.module+el8.6.0+15486+6d4da7db
- golang-src RHEL 8 1.17.10-1.module+el8.6.0+15486+6d4da7db
- golang-misc RHEL 8 1.17.10-1.module+el8.6.0+15486+6d4da7db
- golang-race RHEL 8 1.17.10-1.module+el8.6.0+15486+6d4da7db
- golang-tests RHEL 8 1.17.10-1.module+el8.6.0+15486+6d4da7db
red hat advisories RHSA-2022:5337RHSA-2023:3914RHSA-2022:6094RHSA-2022:6277RHSA-2022:6155RHSA-2022:6042
- go1.18-openssl SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Real Time 15 SP3 +6 more 1.18.10.1-150000.1.9.1
- go1.17 SLE Real Time 15 SP2, SLE Module for Development Tools 15 SP3, openSUSE Leap 15.4 +1 more 1.17.9-150000.1.28.1
- go1.18 SLE Module for Development Tools 15 SP3, openSUSE Leap 15.4, openSUSE Leap 15.3 1.18.1-150000.1.11.1
suse advisories SUSE-SU-2023:2312-1SUSE-SU-2022:1411-1SUSE-SU-2022:1410-1
- go1.18 openSUSE Tumbleweed 1.18.1-1.1
- go1.17 openSUSE Tumbleweed 1.17.9-1.1
opensuse advisories openSUSE-SU-2024:11991-1openSUSE-SU-2024:12004-1
- golang Rocky Linux 9 1.17.12-1.el9_0
- go-toolset Rocky Linux 9 1.17.12-1.el9_0
- delve Rocky Linux 8 1.7.2-1.module+el8.6.0+824+8e984c20
- golang Rocky Linux 8 1.17.10-1.module+el8.6.0+986+efe4cea4
- go-toolset Rocky Linux 8 1.17.10-1.module+el8.6.0+986+efe4cea4
rocky linux advisories RLSA-2022:5799RLSA-2022:5337
- go Alpine 3.15 1.17.9-r0
- go Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 1.18.1-r0
alpine advisories ALPINE-CVE-2022-24675
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
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-24675 updated cvss 7.5
golang: encoding/pem: fix stack overflow in Decode
-
Red Hat Migration Toolkit for Containers cpmaaffected: no fix planned “Will not fix”
-
Red Hat Migration Toolkit for Virtualization migration-toolkit-virtualization/mtv-controller-rhel9, migration-toolkit-virtualization/mtv-must-gather-api-rhel8 Red Hat mirror registry for Red Hat OpenShift mirror-registry-container Red Hat OpenShift Developer Tools and Services odo, helm Red Hat OpenShift Pipelines openshift-pipelines-clientaffected: no fix available
-
Red Hat OpenShift Serverless openshift-serverless-1/kn-ekb-webhook-kafka-rhel9, openshift-serverless-1/kn-serving-controller-rhel9, openshift-serverless-1/kn-eventing-apiserver-receive-adapter-rhel9affected: no fix available, no fix planned “Will not fix”
-
Red Hat OpenShift Service Mesh 2.0 ior, kiali, servicemesh, servicemesh-mixc, servicemesh-mixs, servicemesh-proxy, +7 moreaffected: no fix available
-
Red Hat OpenShift Service Mesh 2.1 servicemesh-proxy, servicemesh-grafana, servicemesh-proxy-wasmaffected: no fix planned “Will not fix”
-
Red Hat 3scale API Management Platform 2 3scale-amp26/3scale-operator, 3scale-amp2/apicast-rhel9-operator Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/work-rhel8, rhacm2/search-rhel8, rhacm2/subctl-rhel9, rhacm2/thanos-rhel7, rhacm2/volsync-rhel8, rhacm2/placement-rhel8, +65 moreaffected: no fix available
-
Red Hat Ceph Storage 2 golang, grafana, golang-bin, golang-src Red Hat Ceph Storage 3 golang, grafana, golang-bin, golang-src, grafana-container, prometheus-node-exporteraffected: no fix planned “Out of support scope”
-
Red Hat Ceph Storage 4 rhceph/rhceph-4-dashboard-rhel8affected: no fix planned “Will not fix”
show 24 moreshow fewer
-
Red Hat Ceph Storage 5 rhceph/rhceph-5-dashboard-rhel8affected: no fix available
-
Red Hat Enterprise Linux 7 golang, golang-bin, golang-src, golang-misc, golang-testsaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Container Platform 4 faq, runc, podman, skopeo, podman-tests, skopeo-tests, +12 moreaffected: no fix available, no fix planned “Will not fix”
-
Red Hat Openshift Container Storage 4 mcg, ocs4/cephcsi-rhel8, ocs4/mcg-rhel8-operator, odf4/ocs-rhel9-operator, ocs4/rook-ceph-rhel8-operator, ocs4/volume-replication-rhel8-operatoraffected: no fix planned “Out of support scope”
-
Red Hat Openshift Data Foundation 4 noobaa-operator-container Red Hat OpenShift distributed tracing 2 rhosdt/opentelemetry-rhel8-operatoraffected: no fix available
-
Red Hat OpenShift GitOps openshift-gitops-kam, openshift-gitops-1/argocd-rhel8, openshift-gitops-1/gitops-rhel8, openshift-gitops-1/kam-delivery-rhel8, openshift-gitops-1/applicationset-rhel8, openshift-gitops-1/gitops-operator-bundle, +1 moreaffected: no fix available, no fix planned “Will not fix”
-
Red Hat OpenShift on AWS rosaaffected: no fix available
-
Red Hat OpenShift Virtualization 2 virt-api-container, kubemacpool-container, bridge-marker-container, ovs-cni-plugin-container, kubevirt-vmware-container, virt-cdi-cloner-container, +11 moreaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Virtualization 4 kubevirt, kubevirt-velero-plugin-container, container-native-virtualization/virt-api, container-native-virtualization/kubemacpool, openshift4/ose-csi-external-provisioner-rhel9, container-native-virtualization/ovs-cni-marker, +13 moreaffected: no fix available, no fix planned “Out of support scope”
-
Red Hat OpenStack Platform 13 (Queens) qpid-proton, qpid-proton-c, qpid-proton-cpp, qpid-proton-tests, python-qpid-protonaffected: no fix planned “Out of support scope”
-
Red Hat OpenStack Platform 16.1 etcd, qpid-proton-c, golang-qpid-apache, python3-qpid-proton Red Hat OpenStack Platform 16.2 etcd, qpid-proton-c, golang-qpid-apache, python3-qpid-proton, collectd-libpod-statsaffected: no fix planned “Will not fix”
-
Red Hat Quay 3 quay/quay-rhel8, quay/clair-rhel8, quay/quay-builder-rhel8, quay/quay-operator-rhel8, quay/quay-openshift-bridge-rhel8-operator, quay/quay-container-security-operator-rhel8affected: no fix available
-
Red Hat Storage 3 etcd, golang, heketi, grafana, golang-bin, golang-src, +5 moreaffected: no fix planned “Out of support scope”
-
Red Hat Service Telemetry Framework 1.3 for RHEL 8 stf/sg-core-rhel8 Red Hat Service Telemetry Framework 1.4 for RHEL 8 stf/sg-core-rhel8affected: no fix planned “Will not fix”
-
Red Hat CNV 4.11 for RHEL 8 container-native-virtualization/checkup-framework v4.11.1-8, container-native-virtualization/hostpath-csi-driver v4.11.0-21, container-native-virtualization/kubevirt-console-plugin v4.11.1-17, container-native-virtualization/hostpath-csi-driver-rhel8 v4.11.0-21, container-native-virtualization/vm-network-latency-checkup v4.11.1-8, container-native-virtualization/kubevirt-tekton-tasks-operator v4.11.1-4, +8 morefixed: vendor fix RHSA-2022:8750
-
Red Hat OpenShift API for Data Protection 1.0 oadp/oadp-registry-rhel8 1.0.4-6fixed: vendor fix RHSA-2022:6430
-
Red Hat OpenShift API for Data Protection 1.1 oadp/oadp-velero-rhel8 1.1.0-27, oadp/oadp-rhel8-operator 1.1.0-50, oadp/oadp-mustgather-rhel8 1.1.0-63, oadp/oadp-velero-plugin-rhel8 1.1.0-20, oadp/oadp-velero-plugin-for-aws-rhel8 1.1.0-17, oadp/oadp-velero-plugin-for-csi-rhel8 1.1.0-25, +5 morefixed: vendor fix RHSA-2022:6290
-
Red Hat OpenShift Sandboxed Containers 1.3 openshift-sandboxed-containers/osc-monitor-rhel8 1.3.1-5, openshift-sandboxed-containers/osc-rhel8-operator 1.3.1-5, openshift-sandboxed-containers/osc-operator-bundle 1.3.1-10, openshift-sandboxed-containers/osc-must-gather-rhel8 1.3.1-6fixed: vendor fix RHSA-2022:7058
-
Red Hat OpenShift Service Mesh 2.1 servicemesh 2.1.5-1.el8, servicemesh-cni 2.1.5-1.el8, servicemesh-operator 2.1.5-1.el8, servicemesh-ratelimit 2.1.5-1.el8, servicemesh-pilot-agent 2.1.5-1.el8, servicemesh-prometheus 2.23.0-9.el8, +2 morefixed: vendor fix RHSA-2022:5006
-
Red Hat OSSO 1.1 for RHEL 8 openshift-secondary-scheduler-operator/secondary-scheduler-operator-rhel8 v1.1-11fixed: vendor fix RHSA-2022:6152
-
Red Hat Ceph Storage 6.1 Tools rhceph/rhceph-6-dashboard-rhel9 6-75fixed: vendor fix RHSA-2023:3642
-
Red Hat Developer Tools for Red Hat Enterprise Linux Server (v. 7) go-toolset-1.17-golang 1.17.10-1.el7_9, go-toolset-1.17-golang-bin 1.17.10-1.el7_9, go-toolset-1.17-golang-src 1.17.10-1.el7_9, go-toolset-1.17-golang-misc 1.17.10-1.el7_9, go-toolset-1.17-golang-race 1.17.10-1.el7_9, go-toolset-1.17-golang-tests 1.17.10-1.el7_9fixed: vendor fix RHSA-2022:5415
-
Red Hat Enterprise Linux AppStream (v. 8) delve 1.7.2-1.module+el8.6.0+12972+ebab5911, golang 1.17.10-1.module+el8.6.0+15486+6d4da7db, go-toolset 1.17.10-1.module+el8.6.0+15486+6d4da7db, golang-bin 1.17.10-1.module+el8.6.0+15486+6d4da7db, golang-src 1.17.10-1.module+el8.6.0+15486+6d4da7db, golang-misc 1.17.10-1.module+el8.6.0+15486+6d4da7db, +2 morefixed: vendor fix RHSA-2022:5337
-
Red Hat Enterprise Linux AppStream (v. 9) golang 1.17.12-1.el9_0, go-toolset 1.17.12-1.el9_0, golang-bin 1.17.12-1.el9_0, golang-src 1.17.12-1.el9_0, golang-misc 1.17.12-1.el9_0, golang-race 1.17.12-1.el9_0, +1 morefixed: vendor fix RHSA-2022:5799
8 more fixed, 18 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-23-047-04 updated cvss 7.5
Siemens Brownfield Connectivity Gateway
-
Siemens Brownfield Connectivity - Gateway <V1.10, V1.10.1affected: fixed in V1.11
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
Exploit prediction
9.95% chance of exploitation in the next 30 days, higher than 95% 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 |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| 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.17.9 >=1.18.0, <1.18.1 |
1.17.9 1.18.1 |
| go | stdlib | <1.17.9 >=1.18.0-0, <1.18.1 |
1.17.9 1.18.1 |
Classification
- Weakness
-
- CWE-674 Uncontrolled Recursion
References
-
go.dev
/cl/399820
patch
-
go.googlesource.com
/go/+/45c3387d777caf28f4b992ad9a6216e3085bb8fe
patch
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/42TYZC4OAY54TO75FBEFAPV5G7O4D5TM/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/F3BMW5QGX53CMIJIZWKXFKBJX2C5GWTY/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/RCRSABD6CUDIZULZPZL5BJ3ET3A2NEJP/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/ZY2SLWOQR4ZURQ7UBRZ7JIX6H6F5JHJR/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/Z55VUVGO7E5PJFXIOVAY373NZRHBNCI5/
vendor-advisory, web
-
security.gentoo.org
/glsa/202208-02
vendor-advisory, third-party-advisory, advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/RQXU752ALW53OJAF5MG3WMR5CCZVLWW6/
vendor-advisory, web
-
groups.google.com
/g/golang-announce
mailing-list, vendor-advisory, advisory
-
groups.google.com
/g/golang-announce/c/oecdBNLOml8
mailing-list, release-notes, vendor-advisory, advisory, web
-
security.netapp.com
/advisory/ntap-20220915-0010/
third-party-advisory, advisory
- cert-portal.siemens.com /productcert/pdf/ssa-744259.pdf
-
nvd.nist.gov
/vuln/detail/CVE-2022-24675
web
-
go.dev
/issue/51853
report
Sources
- CVE List CVE-2022-24675
- NVD CVE-2022-24675
- OSV BIT-golang-2022-24675
- OSV GO-2022-0433
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.