CVEfocus › CVE database › CVE-2022-24675

CVE-2022-24675

CVSS 7.5 HighEPSS 6.9% (higher than 95% of CVEs)Published 2022-04-20Updated 2024-08-03Assigner: mitre

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

Fixed builds are available from Alpine, Go, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

36Fixed
1Under investigation
6Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04golang-1.17Under investigationUBUNTU-CVE-2022-24675
Ubuntu 22.04golang-1.18Fixed1.18.1-1ubuntu1UBUNTU-CVE-2022-24675
Ubuntu 20.04golang-1.18Fixed1.18.1-1ubuntu1~20.04.1UBUNTU-CVE-2022-24675
Ubuntu 18.04golang-1.18Fixed1.18.1-1ubuntu1~18.04.3UBUNTU-CVE-2022-24675
Red Hat Enterprise Linux 9go-toolsetFixed0:1.17.12-1.el9_0RHSA-2022:5799
Red Hat Enterprise Linux 9golangFixed0:1.17.12-1.el9_0RHSA-2022:5799
Red Hat Enterprise Linux 9golang-binFixed0:1.17.12-1.el9_0RHSA-2022:5799
Red Hat Enterprise Linux 9golang-docsFixed0:1.17.12-1.el9_0RHSA-2022:5799
Red Hat Enterprise Linux 9golang-miscFixed0:1.17.12-1.el9_0RHSA-2022:5799
Red Hat Enterprise Linux 9golang-raceFixed0:1.17.12-1.el9_0RHSA-2022:5799
Red Hat Enterprise Linux 9golang-srcFixed0:1.17.12-1.el9_0RHSA-2022:5799
Red Hat Enterprise Linux 9golang-testsFixed0:1.17.12-1.el9_0RHSA-2022:5799
Red Hat Enterprise Linux 8delveFixed0:1.7.2-1.module+el8.6.0+12972+ebab5911RHSA-2022:5337
Red Hat Enterprise Linux 8go-toolsetFixed0:1.17.10-1.module+el8.6.0+15486+6d4da7dbRHSA-2022:5337
Red Hat Enterprise Linux 8golangFixed0:1.17.10-1.module+el8.6.0+15486+6d4da7dbRHSA-2022:5337
Red Hat Enterprise Linux 8golang-binFixed0:1.17.10-1.module+el8.6.0+15486+6d4da7dbRHSA-2022:5337
Red Hat Enterprise Linux 8golang-docsFixed0:1.17.10-1.module+el8.6.0+15486+6d4da7dbRHSA-2022:5337
Red Hat Enterprise Linux 8golang-miscFixed0:1.17.10-1.module+el8.6.0+15486+6d4da7dbRHSA-2022:5337
Red Hat Enterprise Linux 8golang-raceFixed0:1.17.10-1.module+el8.6.0+15486+6d4da7dbRHSA-2022:5337
Red Hat Enterprise Linux 8golang-srcFixed0:1.17.10-1.module+el8.6.0+15486+6d4da7dbRHSA-2022:5337
Red Hat Enterprise Linux 8golang-testsFixed0:1.17.10-1.module+el8.6.0+15486+6d4da7dbRHSA-2022:5337
Red Hat Enterprise Linux 7golangWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-binWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-docsWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-miscWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-srcWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-testsWill not fix
Out of support scope
Rocky Linux 9go-toolsetFixed0:1.17.12-1.el9_0RLSA-2022:5799
Rocky Linux 9golangFixed0:1.17.12-1.el9_0RLSA-2022:5799
Rocky Linux 8delveFixed0:1.7.2-1.module+el8.6.0+824+8e984c20RLSA-2022:5337
Rocky Linux 8go-toolsetFixed0:1.17.10-1.module+el8.6.0+986+efe4cea4RLSA-2022:5337
Rocky Linux 8golangFixed0:1.17.10-1.module+el8.6.0+986+efe4cea4RLSA-2022:5337
Alpine Linux 3.24goFixed1.18.1-r0ALPINE-CVE-2022-24675
Alpine Linux 3.23goFixed1.18.1-r0ALPINE-CVE-2022-24675
Alpine Linux 3.22goFixed1.18.1-r0ALPINE-CVE-2022-24675
Alpine Linux 3.21goFixed1.18.1-r0ALPINE-CVE-2022-24675
Alpine Linux 3.20goFixed1.18.1-r0ALPINE-CVE-2022-24675
Alpine Linux 3.19goFixed1.18.1-r0ALPINE-CVE-2022-24675
Alpine Linux 3.18goFixed1.18.1-r0ALPINE-CVE-2022-24675
Alpine Linux 3.17goFixed1.18.1-r0ALPINE-CVE-2022-24675
Alpine Linux 3.16goFixed1.18.1-r0ALPINE-CVE-2022-24675
Alpine Linux 3.15goFixed1.17.9-r0ALPINE-CVE-2022-24675
Go librarystdlibFixed1.18.1GO-2022-0433

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.