
CVE catalog
CVE-2022-30636
golang-go.crypto: CVE-2022-30636
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.64% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | golang-go.crypto | sid | 1:0.58.0-1 | fixed |
| Debian | golang-go.crypto | forky | 1:0.58.0-1 | fixed |
| Debian | golang-go.crypto | trixie | 1:0.25.0-1 | fixed |
| Debian | golang-go.crypto | bookworm | 1:0.4.0-1 | fixed |
| Go | golang.org/x/crypto | Not reported | 0.0.0-20220525230936-793ad666bf5e | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | golang-go.crypto | source | sid | 1:0.0~git20220829.c86fa9a-1 | unimportant | Not reported | Not reported |
| Debian | golang-go.crypto | source | forky | 1:0.0~git20220829.c86fa9a-1 | unimportant | Not reported | Not reported |
| Debian | golang-go.crypto | source | trixie | 1:0.0~git20220829.c86fa9a-1 | unimportant | Not reported | Not reported |
| Debian | golang-go.crypto | source | bookworm | 1:0.0~git20220829.c86fa9a-1 | unimportant | Not reported | Not reported |
| Go | golang.org/x/crypto | Go | Not reported | 0.0.0-20220525230936-793ad666bf5e | Not reported | GO-2024-2961 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [golang-golang-x-crypto-dev]Fixed
Source package: [golang-go.crypto]
Details (4)
1:0.4.0-1· all · bookwormFixed · Fixed:
1:0.0~git20220829.c86fa9a-1dsa · golang-go.crypto · debian · bookworm
1:0.4.0-1· all · bookwormFixed · Fixed:
1:0.0~git20220829.c86fa9a-1dsa · golang-go.crypto · debian · bookworm
1:0.25.0-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
1:0.0~git20220829.c86fa9a-1dsa · golang-go.crypto · debian · bookworm
1:0.25.0-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
1:0.0~git20220829.c86fa9a-1dsa · golang-go.crypto · debian · bookworm
Observed: