Appsecure logo

CVE-2023-45283: High Vulnerability in Golang Go

A high-severity vulnerability in the Golang Go filepath package allows attackers to access arbitrary paths on Windows systems. Organizations are urged to patch immediately to mitigate risks associated with this vulnerability.

HIGHCVSS 7.5 · Published November 9, 2023

Not a customer? See how AppSecure simulates real world attacks to protect your infrastructure.

Speak to Experts

CVE-2023-45283 is a high-severity vulnerability affecting the Golang Go filepath package. This vulnerability allows paths with a \??\ prefix to bypass intended restrictions, potentially granting unauthorized access to arbitrary locations within Windows systems. The CVSS score for this vulnerability is 7.5, indicating a high level of risk. Given the nature of the exploit, organizations should prioritize patching immediately to secure their systems.

The exploitation of this vulnerability could lead to significant risks for organizations, as attackers may leverage these path manipulations to gain access to sensitive data or system functionalities. The vulnerability was published on November 9, 2023, and has since been classified as modified due to ongoing updates and fixes from the vendor.

Organizations that utilize Golang in their applications must assess their exposure to this vulnerability. The filepath package does not recognize paths with a \??\ prefix as special, which can lead to unintended behavior when cleaning or joining paths. This oversight presents an attack vector that could be exploited in various scenarios.

To mitigate potential risks, organizations are advised to apply the latest patches provided by Golang. The fixes ensure that paths beginning with \??\ are handled correctly, preventing unauthorized access and ensuring that functions such as Clean and Join operate as intended.

The official CVE description highlights that the Golang filepath package does not handle paths prefixed with \??\ properly. This prefix denotes a Root Local Device path on Windows, which can inadvertently allow access to arbitrary system locations. This vulnerability has a CVSS score of 7.5, indicating a high severity level, with a high impact on confidentiality but no integrity or availability impact.

The affected product is the Golang Go programming language, specifically versions prior to 1.20.11 and between 1.21.0-0 and 1.21.4. The vulnerability was disclosed on November 9, 2023, and it is classified under CWE-22, indicating improper limitation of a path name.

The root cause of CVE-2023-45283 lies in the handling of Windows paths within the filepath package. Specifically, the Clean and Join functions did not adequately manage paths that included the \??\ prefix, allowing for the transformation of potentially dangerous paths into acceptable formats. This could enable attackers to manipulate path strings to access sensitive files or directories.

The attack vector for this vulnerability is network-based, and the complexity of exploitation is considered low. No user interaction is required, and no privileges are necessary to exploit this vulnerability. This makes it particularly dangerous, as attackers can exploit it remotely without needing special access.

The confidentiality impact is assessed as high, suggesting that successful exploitation could lead to unauthorized access to sensitive information. However, there is no integrity or availability impact associated with this vulnerability.

Risk to organizations includes the potential for unauthorized access to sensitive data and system functionality due to improper path handling. The blast radius of this vulnerability could be significant, especially for applications that rely heavily on file path manipulation and validation.

The urgency assessment based on the CVSS score indicates that organizations should address this vulnerability in their priority patch cycle. With the increasing reliance on Golang for various applications, it is essential to ensure that all systems are updated to the latest secure versions to mitigate these risks.

Signal

Status

Known Exploit

No

Public PoC

No

Actively Exploited

No

Ransomware Use

No

All versions prior to vendor patch, specifically versions 1.20.11 and those between 1.21.0-0 and 1.21.4 of the Golang Go product are affected by this vulnerability.

Organizations should ensure they update to the patched versions of Golang, specifically Go 1.21.5 and Go 1.20.12, to mitigate this vulnerability. Additionally, implementing proper input validation on path names can help prevent exploitation.

For further guidance on effective security practices, organizations can refer to the application security assessment services.

Organizations should monitor logs for indicators of unusual path access patterns, particularly those attempting to utilize the \??\ prefix. Behavioral anomalies in file access, especially in sensitive directories, may indicate attempts to exploit this vulnerability.

This vulnerability highlights the importance of robust path handling in applications, especially those deployed on Windows systems. Security teams should recognize the patterns that led to this oversight and implement comprehensive testing to identify similar weaknesses.

Organizations should prioritize proactive measures such as regular updates and rigorous security assessments to safeguard against potential vulnerabilities. For more insights on vulnerability management, consider exploring our vulnerability management program and the latest trends in security practices.

By staying informed and prepared, organizations can reduce the risk associated with vulnerabilities like CVE-2023-45283 and enhance their overall security posture.

Lastly, keep abreast of evolving threats with our insights on penetration testing methodology to ensure your defenses are resilient against emerging vulnerabilities.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Latest CVEs. Recently published vulnerabilities from the NVD database.

View all vulnerabilities
CVE IDSeverity
CVE-2025-65418HIGH
CVE-2025-65417MEDIUM
CVE-2025-65416MEDIUM
CVE-2025-65415MEDIUM
CVE-2025-61314HIGH

Protect Your Business with Hacker-Focused Approach.