LiveActive security incident?Get immediate response
CVE Record

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.

HighCVSS 7.5Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

This flaw affects Go services using golang.org/x/crypto/acme/autocert on Windows. A crafted ACME HTTP-01 challenge path could make the service read files outside its cache directory, but only files with a specific added suffix. The business risk is information disclosure, not takeover or outage.

Executive priority

Prioritize remediation for internet-facing Windows Go services that automate ACME certificates with autocert. Treat other environments as lower urgency until dependency and platform exposure are confirmed. This is a targeted confidentiality risk, not broad infrastructure compromise based on the supplied evidence.

Technical view

The vulnerable cache key logic used path.Base instead of Windows-aware filepath.Base. On Windows, backslash-separated relative paths could survive token extraction, then be joined with the DirCache directory and opened after appending +http-01. The suffix requirement substantially limits arbitrary file read conditions.

Likely exposure

Exposure is likely limited to Windows deployments that use golang.org/x/crypto/acme/autocert with DirCache for ACME HTTP-01 certificate automation. The source bundle does not establish exposure for Linux, macOS, or unrelated Go crypto packages.

Exploitation context

The bundle lists no CISA KEV entry and provides no evidence of active exploitation. The CVSS vector indicates remote, unauthenticated, low-complexity access with confidentiality impact only. Practical impact depends on Windows use, DirCache configuration, service privileges, and whether sensitive files matching the required suffix exist.

Researcher notes

Key uncertainty is versioning: the bundle identifies the package and an affected version value of "0" but does not provide a conventional affected range. Ground validation in GO-2024-2961, the Go issue, and the linked code change. Avoid assuming exploit prevalence or impact beyond suffix-constrained file read.

Mitigation direction

  • Check Go vulnerability guidance for GO-2024-2961 and apply the vendor-recommended update.
  • Inventory Windows services using golang.org/x/crypto/acme/autocert DirCache.
  • Run the affected service with least-privilege filesystem access.
  • Restrict cache directory permissions to required service operations only.
  • Monitor ACME challenge traffic and logs for suspicious malformed challenge paths.

Validation and detection

  • Review go.mod, go.sum, and SBOMs for golang.org/x/crypto/acme/autocert usage.
  • Confirm whether any affected service runs on Windows with DirCache enabled.
  • Use Go vulnerability scanning mapped to GO-2024-2961 and CVE-2022-30636.
  • Review service logs for malformed ACME HTTP-01 challenge requests.
  • Assess whether sensitive files with the required suffix are readable by the service.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

description · low confidence lookup

Credential and access behavior lookup

The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
description · low confidence lookup

File access behavior lookup

The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-30636 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N3.93.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.5High
CVSS 3.1 vector shape for CVE-2022-30636Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
golang.org/x/cryptogolang.org/x/crypto/acme/autocertgolang.org/x/crypto/acme/autocert, 0unaffected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.