Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2022-30636

httpTokenCacheKey uses path.Base to extract the expected HTTP-01 token ...

Overview

Published
2 Jul 2024
Modified
17 Jun 2026
High CVE
3 Registry packages
1 OS packages
4 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

Affected packages · 3

Packages affected by CVE-2022-30636
EcosystemPackageVulnerableFixed in
Go golang.org/x/crypto <0.0.0-20220525230936-793ad666bf5e 0.0.0-20220525230936-793ad666bf5e
Seal Go golang.org/x/crypto >=0.0.0-20211117183948-ae814b36b871-sp0, <0.0.0-20211117183948-ae814b36b871-sp3 0.0.0-20211117183948-ae814b36b871-sp3
Seal Go sealsecurity.io/golang.org/x/crypto >=0.0.0-20211117183948-ae814b36b871-sp1, <0.0.0-20211117183948-ae814b36b871-sp3 0.0.0-20211117183948-ae814b36b871-sp3

Open a package to see all its vulnerabilities.

Operating systems · 7 fixes

debian 4 releases · 1 package

affected 1 fixed 3
golang-go-crypto
debian fixes for CVE-2022-30636
ReleasePackageFixed in
11 golang-go-crypto affected
12 golang-go-crypto 1:0.0~git20220829.c86fa9a-1
13 golang-go-crypto 1:0.0~git20220829.c86fa9a-1
14 golang-go-crypto 1:0.0~git20220829.c86fa9a-1

echo 1 release · 1 package

fixed 1
golang-go-crypto
echo fixes for CVE-2022-30636
ReleasePackageFixed in
golang-go-crypto 1:0.0~git20220829.c86fa9a-1

chainguard 1 release · 1 package

not affected 1
dex-k8s-authenticator
chainguard fixes for CVE-2022-30636
ReleasePackageFixed in
dex-k8s-authenticator +2 not affected

wolfi 1 release · 1 package

not affected 1
nfs-subdir-external-provisioner
wolfi fixes for CVE-2022-30636
ReleasePackageFixed in
nfs-subdir-external-provisioner not affected

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.