CVEvulnerability

CVE-2022-29804

7.5 HIGH Published 2022-08-10 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2022-08-10
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-22

Description

Incorrect conversion of certain invalid paths to valid, absolute paths in Clean in path/filepath before Go 1.17.11 and Go 1.18.3 on Windows allows potential directory traversal attack.

Affected configurations

• golang go (< 1.17.11) • golang go (>= 1.18.0 < 1.18.3)

Related

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References