CVE Catalog

CVE-2023-45283

High
Published: Translated: NVD NIST

Summary

The filepath package in Go does not recognize paths with a \??\ prefix as special. On Windows, a path starting with \??\ is equivalent to a path starting with \\?\ and can be used to access arbitrary system locations.

Risk Assessment

An attacker could exploit this vulnerability to bypass security mechanisms and access protected system resources, potentially leading to privilege escalation or data leakage.

Recommendation

Update the Go environment to a version that fixes the handling of the \??\ prefix in the filepath package, and review code for unsafe path usage.

Other vulnerabilities in Go

See all
Original NVD description (English source)

The filepath package does not recognize paths with a \??\ prefix as special. On Windows, a path beginning with \??\ is a Root Local Device path equivalent to a path beginning with \\?\. Paths with a \??\ prefix may be used to access arbitrary locations on the system. For example, the path \??\c:\x i

Vulnerability data from NVD (NIST) · CISA KEV · EPSS