Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-30636

published high CVSS 3.1 · 7.5

Limited directory traversal vulnerability on Windows in golang.org/x/crypto

Published
02 Jul 2024, 19:51:46 UTC
Updated
07 Aug 2024, 16:21:06 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
golang.org/x/crypto — golang.org/x/crypto/acme/autocert0 to < 0.0.0-20220525230936-793ad666bf5e · Other versions: unaffected · Platforms: windows Affected Not stated Go
golang — crypto0 to < 0.0.0-20220525230936-793ad666bf5e · Other versions: unknown Affected Not stated CISA-ADP

Description

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.

en · Go · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
golang.org/x/crypto golang.org/x/crypto/acme/autocert 0 to < 0.0.0-20220525230936-793ad666bf5e (affected · semver)Default: unaffected Go · cna
golang crypto 0 to < 0.0.0-20220525230936-793ad666bf5e (affected · custom)Default: unknown CISA-ADP · adp

Weaknesses

1
  • CWE 22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (Go · cna)

References

3

Provider assertions

3

Go · cna

Limited directory traversal vulnerability on Windows in golang.org/x/crypto

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
17dfe7b22f88d63d8b1cf3e3ce33665d4781d183eb3b3e1666070b533330b9e2
Ingested
23 Sep 2026, 08:00:17 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected