CVE-2022-29804

Summary

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 Software

VendorProductVersion RangeStatus
Go standard librarypath/filepath0 < 1.17.11affected
Go standard librarypath/filepath1.18.0-0 < 1.18.3affected

Weaknesses

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

ADP Enrichment

CVE Program Container

Additional References

References