{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-30636","published":"2024-07-02T20:15:05.173000Z","last_modified":"2026-06-17T04:43:59.593000Z","status":"Deferred","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":[],"cpes":[],"cpes_truncated":false,"vendors":["golang.org-x-crypto"],"products":["golang.org-x-crypto/golang.org-x-crypto-acme-autocert"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial"},"epss":{"score":0.00873,"percentile":0.56629,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GO-2024-2961","ecosystem":"Go","name":"golang.org/x/crypto","purl":"pkg:golang/golang.org/x/crypto","ranges":[{"introduced":"0","fixed":"0.0.0-20220525230936-793ad666bf5e"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2022-30636/","html_en":"/en/cve/CVE-2022-30636/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-30636","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-30636"},"untrusted":{"vendor_name":"golang.org/x/crypto","product_name":"golang.org/x/crypto/acme/autocert","desc_en":"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.","affected":[{"untrusted_vendor":"golang.org/x/crypto","untrusted_product":"golang.org/x/crypto/acme/autocert","versions":[]},{"untrusted_vendor":"golang","untrusted_product":"crypto","versions":[]}],"references":[{"url":"https://go.dev/cl/408694","tags":[]},{"url":"https://go.dev/issue/53082","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2024-2961","tags":[]}]}}