cve.bz

CVE-2022-30636 golang.org/x/crypto golang.org/x/crypto/acme/autocert

7.5 highEPSS 0.6%Fix available

High (7.5) in golang.org/x/crypto golang.org/x/crypto/acme/autocert. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in golang.org/x/crypto 0.0.0-20220525230936-793ad666bf5e.

On this page
httpTokenCacheKey uses path.Base to extract the expected HTTP-01 token value to lookup in the DirCache implementation. On Windows, path.Base acts differently to filepath.Base, since Windows uses a different path separator (\ vs. /), allowing a user to provide a relative path, i.e. .well-known/acme-challenge/..\..\asd becomes ..\..\asd. The extracted path is then suffixed with +http-01, joined with the cache directory, and opened. Since the controlled path is suffixed with +http-01 before opening, the impact of this is significantly limited, since it only allows reading arbitrary files on the system if and only if they have this suffix.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 52nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2024-07-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-30636 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-30636?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-30636?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-30636 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 CNA's record in the CVE List.

ProductAffected
golang.org/x/crypto/acme/autocertbefore 0.0.0-20220525230936-793ad666bf5e

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2024-2961Gogolang.org/x/crypto<0.0.0-20220525230936-793ad666bf5e0.0.0-20220525230936-793ad666bf5e

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14golang-go.crypto1:0.0~git20220829.c86fa9a-1DEBIAN-CVE-2022-30636

From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.

References

Check your stackJSON