Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-29804

Path traversal via Clean on Windows in path/filepath

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Go standard library path/filepath

Default version status: unaffected

  • 0 to < 1.17.11affected
  • 1.18.0-0 to < 1.18.3affected

References