CVE-2022-29804

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductGo
PublishedAug 10, 2022
First seenAug 10, 2022

How to fix

Update
  • golang go1.17.11, 1.18.3 or later
  • stdlib1.17.11, 1.18.3 or later

Affected products

ProductAffected versionsFixed in
golang gov < 1.17.11, 1.18.0 ≤ v < 1.18.31.17.11, 1.18.3
stdlibGov < 1.17.11, 1.18.0-0 ≤ v < 1.18.31.17.11, 1.18.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2022-29804 · Go · Dark Radar