CVE-2022-30636
Limited directory traversal vulnerability on Windows in golang.org/x/crypto
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.637% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:33.773Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:36.954Z | OSV |
| affected | verified | 2026-11-19T12:56:31.704Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:56:31.704Z | CVE Program |
Affected versions and configuration
golang.org/x/crypto golang.org/x/crypto/acme/autocert (windows); default status: unaffected: 0 to < 0.0.0-20220525230936-793ad666bf5e [affected; scheme: semver]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "golang.org/x/crypto",
"product": "golang.org/x/crypto/acme/autocert",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "0.0.0-20220525230936-793ad666bf5e",
"versionType": "semver"
}
],
"platforms": [
"windows"
],
"packageName": "golang.org/x/crypto/acme/autocert",
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "DirCache.Get"
},
{
"name": "DirCache.Put"
},
{
"name": "DirCache.Delete"
},
{
"name": "HostWhitelist"
},
{
"name": "Manager.GetCertificate"
},
{
"name": "Manager.Listener"
},
{
"name": "NewListener"
},
{
"name": "listener.Accept"
},
{
"name": "listener.Close"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://go.dev/cl/408694",
"tags": [
"x_transferred"
]
},
{
"url": "https://go.dev/issue/53082",
"tags": [
"x_transferred"
]
},
{
"url": "https://pkg.go.dev/vuln/GO-2024-2961",
"tags": [
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-03T06:56:13.171Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.5,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "HIGH"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2022-30636",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-07-03T13:57:10.933970Z"
}
}
}
],
"affected": [
{
"cpes": [
"cpe:2.3:a:golang:crypto:-:*:*:*:*:*:*:*"
],
"vendor": "golang",
"product": "crypto",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "0.0.0-20220525230936-793ad666bf5e",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-08-07T16:21:06.868Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GO-2024-2961",
"aliases": [
"CVE-2022-30636"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.0.0-20220525230936-793ad666bf5e"
}
]
}
],
"package": {
"name": "golang.org/x/crypto",
"purl": "pkg:golang/golang.org/x/crypto",
"ecosystem": "Go"
},
"versions": [],
"database_specific": {
"source": "https://vuln.go.dev/ID/GO-2024-2961.json"
},
"ecosystem_specific": {
"imports": [
{
"goos": [
"windows"
],
"path": "golang.org/x/crypto/acme/autocert",
"symbols": [
"DirCache.Delete",
"DirCache.Get",
"DirCache.Put",
"HostWhitelist",
"Manager.GetCertificate",
"Manager.Listener",
"NewListener",
"listener.Accept",
"listener.Close"
]
}
]
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://go.dev/cl/408694",
"type": "FIX"
},
{
"url": "https://go.dev/issue/53082",
"type": "REPORT"
}
],
"relatedGitRanges": [],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2024-2961",
"review_status": "REVIEWED"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Go / package | golang.org/x/crypto | Not a distribution channel | 0.0.0-20220525230936-793ad666bf5e | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:36.954ZArchived source JSON
Source publication: 2024-07-02T19:27:52.000Z
Source modification: 2026-06-16T12:29:17.908ZDocument fingerprint
a32426225c1cf2a1ef21f83f6d667c7e3375c73249acdd2713963004c67fad7d - CVE ProgramConsulted: 2026-11-19T12:56:31.704ZArchived source JSON
Source publication: 2024-07-02T19:51:46.635Z
Source modification: 2024-08-07T16:21:06.868ZDocument fingerprint
17dfe7b22f88d63d8b1cf3e3ce33665d4781d183eb3b3e1666070b533330b9e2 - CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:33.773ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
61a73aadbfc560e47e1294f3a67a7c0f50173e56af53ae885ac6a32a73b8f00f
Official status history
- UNKNOWN → PUBLISHED · · evidence