Skip to content
Fencer Intel
high 7.5

CVE-2022-24675 json

Stack overflow from a large amount of PEM data in encoding/pem

published 4y ago modified 24d 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

  • golang CBL-Mariner 2.0 1.18.3-1

azure linux advisories AZL-9527

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Is CVE-2022-24675 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

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 cpma
    affected: 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-client
    affected: 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-rhel9
    affected: 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 more
    affected: no fix available
  • Red Hat OpenShift Service Mesh 2.1 servicemesh-proxy, servicemesh-grafana, servicemesh-proxy-wasm
    affected: 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 more
    affected: 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-exporter
    affected: no fix planned “Out of support scope”
  • Red Hat Ceph Storage 4 rhceph/rhceph-4-dashboard-rhel8
    affected: no fix planned “Will not fix”
show 24 more
  • Red Hat Ceph Storage 5 rhceph/rhceph-5-dashboard-rhel8
    affected: no fix available
  • Red Hat Enterprise Linux 7 golang, golang-bin, golang-src, golang-misc, golang-tests
    affected: no fix planned “Out of support scope”
  • Red Hat OpenShift Container Platform 4 faq, runc, podman, skopeo, podman-tests, skopeo-tests, +12 more
    affected: 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-operator
    affected: 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-operator
    affected: 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 more
    affected: no fix available, no fix planned “Will not fix”
  • Red Hat OpenShift on AWS rosa
    affected: 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 more
    affected: 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 more
    affected: 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-proton
    affected: 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-stats
    affected: 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-rhel8
    affected: no fix available
  • Red Hat Storage 3 etcd, golang, heketi, grafana, golang-bin, golang-src, +5 more
    affected: 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-rhel8
    affected: 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 more
    fixed: vendor fix RHSA-2022:8750
  • Red Hat OpenShift API for Data Protection 1.0 oadp/oadp-registry-rhel8 1.0.4-6
    fixed: 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 more
    fixed: 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-6
    fixed: 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 more
    fixed: vendor fix RHSA-2022:5006
  • Red Hat OSSO 1.1 for RHEL 8 openshift-secondary-scheduler-operator/secondary-scheduler-operator-rhel8 v1.1-11
    fixed: vendor fix RHSA-2022:6152
  • Red Hat Ceph Storage 6.1 Tools rhceph/rhceph-6-dashboard-rhel9 6-75
    fixed: 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_9
    fixed: 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 more
    fixed: 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 more
    fixed: 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.1
    affected: 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-09).

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

References

Sources

Fencer Intel 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.