Advisory

DEBIAN-CVE-2022-30636

Also known as: CVE-2022-30636

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2024-07-02 20:15 UTC
Modified
2026-11-18 06:02 UTC

Affected packages and fixes

golang-go.crypto

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1:0.0~git20220829.c86fa9a-1 (ecosystem)

Fixed versions

1:0.0~git20220829.c86fa9a-1

Fix

  • Fixed version 1:0.0~git20220829.c86fa9a-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

golang-go.crypto

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1:0.0~git20220829.c86fa9a-1 (ecosystem)

Fixed versions

1:0.0~git20220829.c86fa9a-1

Fix

  • Fixed version 1:0.0~git20220829.c86fa9a-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

golang-go.crypto

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1:0.0~git20220829.c86fa9a-1 (ecosystem)

Fixed versions

1:0.0~git20220829.c86fa9a-1

Fix

  • Fixed version 1:0.0~git20220829.c86fa9a-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences