cve.bz

CVE-2022-24675 Uncontrolled Recursion

7.5 highEPSS 10.0%Fix available

High (7.5). EPSS 10.0% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.17.9, 1.18.1.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
10.0% (unchanged from 10.0% a week ago; 10.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-674 Uncontrolled Recursion
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-24675 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-24675?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-24675?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-24675 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
golang:gobefore 1.17.9
golang:gofrom 1.18.0 before 1.18.1
fedoraproject:fedora34
fedoraproject:fedora35
fedoraproject:fedora36

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2022-0433Gostdlib<1.17.9
>=1.18.0-0 <1.18.1
1.17.9, 1.18.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu18.04:LTSgolang-1.181.18.1-1ubuntu1~18.04.3UBUNTU-CVE-2022-24675
Ubuntu20.04:LTSgolang-1.181.18.1-1ubuntu1~20.04.1UBUNTU-CVE-2022-24675
Ubuntu22.04:LTSgolang-1.17no fix listedUBUNTU-CVE-2022-24675
Ubuntu22.04:LTSgolang-1.181.18.1-1ubuntu1UBUNTU-CVE-2022-24675
Red Hatdevtools:2022go-toolset-1.17-golang, go-toolset-1.17-golang-bin, go-toolset-1.17-golang-src and 4 more0:1.17.10-1.el7_9RHSA-2022:5415
Red Hatenterprise_linux:8::appstreamdelve, delve-debuginfo, delve-debugsource0:1.7.2-1.module+el8.6.0+12972+ebab5911RHSA-2022:5337
Red Hatenterprise_linux:8::appstreamgolang, go-toolset, golang-bin and 5 more0:1.17.10-1.module+el8.6.0+15486+6d4da7dbRHSA-2022:5337
Red Hatenterprise_linux:9::appstreamgolang, go-toolset, golang-bin and 5 more0:1.17.12-1.el9_0RHSA-2022:5799
Red Hatopenshift:4.10::el7cri-o, cri-o-debuginfo0:1.23.3-11.rhaos4.10.gitddf4b1a.1.el7RHSA-2022:5729
Red Hatopenshift:4.10::el7cri-o, cri-o-debuginfo0:1.23.3-13.rhaos4.10.git6af791c.1.el7RHSA-2022:6094
Red Hatopenshift:4.10::el7cri-tools, cri-tools-debuginfo0:1.23.0-1.1.el7RHSA-2022:5729
Red Hatopenshift:4.10::el7openshift, openshift-hyperkube0:4.10.0-202207192015.p0.g012e945.assembly.stream.el7RHSA-2022:5729
Red Hatopenshift:4.10::el7openshift-clients, openshift-clients-redistributable0:4.10.0-202207192015.p0.g45460a5.assembly.stream.el7RHSA-2022:5729
Red Hatopenshift:4.10::el8atomic-openshift-service-idler0:4.10.0-202207192015.p0.g39cfc66.assembly.stream.el8RHSA-2022:5729
Red Hatopenshift:4.10::el8cri-o, cri-o-debuginfo, cri-o-debugsource0:1.23.3-11.rhaos4.10.gitddf4b1a.1.el8RHSA-2022:5729
Red Hatopenshift:4.10::el8cri-o, cri-o-debuginfo, cri-o-debugsource0:1.23.3-14.rhaos4.10.git6af791c.1.el8RHSA-2022:6094
165 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 4 morego1.18-openssl1.18.10.1-150000.1.9.1SUSE-SU-2023:2312-1
SUSELinux Enterprise Module for Development Tools 15 SP3go1.181.18.1-150000.1.11.1SUSE-SU-2022:1410-1
SUSELinux Enterprise Module for Development Tools 15 SP3, Linux Enterprise Real Time 15 SP2go1.171.17.9-150000.1.28.1SUSE-SU-2022:1411-1
openSUSELeap 15.3, Leap 15.4go1.171.17.9-150000.1.28.1SUSE-SU-2022:1411-1
openSUSELeap 15.3, Leap 15.4go1.181.18.1-150000.1.11.1SUSE-SU-2022:1410-1
openSUSELeap 15.4, Leap 15.5go1.18-openssl1.18.10.1-150000.1.9.1SUSE-SU-2023:2312-1
openSUSETumbleweedgo1.171.17.9-1.1openSUSE-SU-2024:12004-1
openSUSETumbleweedgo1.181.18.1-1.1openSUSE-SU-2024:11991-1
Rocky Linux8delve0:1.7.2-1.module+el8.6.0+824+8e984c20RLSA-2022:5337
Rocky Linux8golang, go-toolset0:1.17.10-1.module+el8.6.0+986+efe4cea4RLSA-2022:5337
Rocky Linux9golang, go-toolset0:1.17.12-1.el9_0RLSA-2022:5799
Alpinev3.15go1.17.9-r0ALPINE-CVE-2022-24675
Alpinev3.16, v3.17, v3.18 and 6 morego1.18.1-r0ALPINE-CVE-2022-24675
Azure Linux2golang1.18.3-1AZL-9527

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat Enterprise Linux 7, 8 and 9 are affected, because the code-base is affected by this vulnerability.

Red Hat Product Security has rated this issue as having Moderate security impact, and the issue is not currently planned to be addressed in future updates for Red Hat Enterprise Linux 7, hence, marked as Out-of-Support-Scope.

Red Hat Developer Tools - Compilers (go-toolset-1.16-golang & go-toolset-1.17-golang), ships the vulnerable code and affected by this vulnerability.

For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/ and Red Hat Enterprise Linux Life Cycle & Updates Policy: https://access.redhat.com/support/policy/updates/errata/.

ProductPackageStateAdvisory
OADP-1.0-RHEL-8oadp/oadp-registry-rhel8:1.0.4-6Fixed 2022-09-13RHSA-2022:6430
OADP-1.1-RHEL-8oadp/oadp-kubevirt-velero-plugin-rhel8:1.1.0-21Fixed 2022-09-01RHSA-2022:6290
OADP-1.1-RHEL-8oadp/oadp-mustgather-rhel8:1.1.0-63Fixed 2022-09-01RHSA-2022:6290
OADP-1.1-RHEL-8oadp/oadp-rhel8-operator:1.1.0-50Fixed 2022-09-01RHSA-2022:6290
OADP-1.1-RHEL-8oadp/oadp-velero-plugin-for-aws-rhel8:1.1.0-17Fixed 2022-09-01RHSA-2022:6290
OADP-1.1-RHEL-8oadp/oadp-velero-plugin-for-csi-rhel8:1.1.0-25Fixed 2022-09-01RHSA-2022:6290
OADP-1.1-RHEL-8oadp/oadp-velero-plugin-for-gcp-rhel8:1.1.0-17Fixed 2022-09-01RHSA-2022:6290
OADP-1.1-RHEL-8oadp/oadp-velero-plugin-for-microsoft-azure-rhel8:1.1.0-17Fixed 2022-09-01RHSA-2022:6290
OADP-1.1-RHEL-8oadp/oadp-velero-plugin-rhel8:1.1.0-20Fixed 2022-09-01RHSA-2022:6290
OADP-1.1-RHEL-8oadp/oadp-velero-restic-restore-helper-rhel8:1.1.0-25Fixed 2022-09-01RHSA-2022:6290
Migration Toolkit for ContainerscpmaWill not fix
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-controller-rhel9Affected
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-must-gather-api-rhel8Affected
mirror registry for Red Hat OpenShiftmirror-registry-containerAffected
OpenShift Developer Tools and ServiceshelmAffected
OpenShift Developer Tools and ServicesodoAffected
OpenShift Pipelinesopenshift-pipelines-clientAffected
OpenShift Serverlessknative-eventingAffected
OpenShift Serverlessknative-servingAffected
OpenShift Serverlessopenshift-serverless-1-eventing-kafka-channel-webhook-rhel8-containerWill not fix
440 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-24675.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-047-04Siemens Brownfield Connectivity Gateway2023-02-14MultipleBrownfield Connectivity - Gatewaynone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-230 Serialized Data with Nested Payloads Likelihood: Medium · Severity: High
  • CAPEC-231 Oversized Serialized Data Payloads Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON