Vulnerability Details : CVE-2022-30636
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.
Products affected by CVE-2022-30636
Please log in to view affected product information.
Exploit prediction scoring system (EPSS) score for CVE-2022-30636
0.14%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 31 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-30636
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
3.9
|
3.6
|
134c704f-9b21-4f2e-91b3-4a467353bcc0 | 2024-08-07 |
References for CVE-2022-30636
-
https://pkg.go.dev/vuln/GO-2024-2961
GO-2024-2961 - Go Packages
-
https://go.dev/cl/408694
acme/autocert: properly clean DirCache paths (408694) · Gerrit Code Review
-
https://go.dev/issue/53082
x/crypto/acme/autocert: httpTokenCacheKey allows limited directory traversal on windows · Issue #53082 · golang/go · GitHub
Jump to