CVE-2022-30636

EUVD-2022-52467
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CISA-ADPADP
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Awaiting analysis
This vulnerability is currently awaiting analysis.
Base Score
CVSS 3.x
EPSS Score
Percentile: 47%
Debian logo
Debian Releases
Debian Product
Codename
golang-go.crypto
bookworm
1:0.4.0-1
fixed
bullseye
unimportant
sid
1:0.25.0-1
fixed
trixie
1:0.25.0-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
golang
focal
dne
jammy
dne
mantic
dne
noble
dne
golang-1.10
bionic
not-affected
focal
dne
jammy
dne
mantic
dne
noble
dne
trusty
not-affected
xenial
not-affected
golang-1.13
bionic
not-affected
focal
not-affected
jammy
not-affected
mantic
dne
noble
dne
xenial
not-affected
golang-1.14
focal
not-affected
jammy
dne
mantic
dne
noble
dne
golang-1.16
bionic
not-affected
focal
not-affected
jammy
dne
mantic
dne
noble
dne
golang-1.17
focal
dne
jammy
not-affected
mantic
dne
noble
dne
golang-1.18
bionic
not-affected
focal
not-affected
jammy
not-affected
mantic
dne
noble
dne
xenial
not-affected
golang-1.19
focal
dne
jammy
dne
mantic
dne
noble
dne
golang-1.20
focal
not-affected
jammy
not-affected
mantic
not-affected
noble
dne
golang-1.21
focal
not-affected
jammy
not-affected
mantic
not-affected
noble
not-affected
golang-1.22
focal
not-affected
jammy
not-affected
mantic
not-affected
noble
not-affected
golang-1.6
focal
dne
jammy
dne
mantic
dne
noble
dne
xenial
not-affected
golang-1.8
bionic
not-affected
focal
dne
jammy
dne
mantic
dne
noble
dne
golang-1.9
bionic
not-affected
focal
dne
jammy
dne
mantic
dne
noble
dne