Open File Behavior Discrepancy in Go on Unix and Windows Systems
CVE-2025-0913
What is CVE-2025-0913?
This vulnerability pertains to the behavior of the Go programming language's OpenFile function when handling dangling symlinks across different operating systems. On Unix systems, using OpenFile with the O_CREATE and O_EXCL flags does not follow symlinks, ensuring that it behaves predictably. However, on Windows, it allows the creation of a file in a location pointed to by a symlink even if that location is invalid. The updated behavior now ensures that OpenFile returns an error when both O_CREATE and O_EXCL flags are set for a symlink, aligning the functionality across platforms and enhancing overall reliability.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
os windows 0 < 1.23.10
os windows 1.24.0-0 < 1.24.4
syscall windows 0 < 1.23.10
References
CVSS V3.1
Timeline
Vulnerability published
Vulnerability Reserved
