CVE-2025-0913

Source
https://cve.org/CVERecord?id=CVE-2025-0913
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-0913.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-0913
Aliases
Downstream
Related
Published
2025-06-11T18:15:24.627Z
Modified
2026-02-14T01:10:45.199631Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

os.OpenFile(path, os.OCREATE|OEXCL) behaved differently on Unix and Windows systems when the target path was a dangling symlink. On Unix systems, OpenFile with OCREATE and OEXCL flags never follows symlinks. On Windows, when the target path was a symlink to a nonexistent location, OpenFile would create a file in that location. OpenFile now always returns an error when the OCREATE and OEXCL flags are both set and the target path is a symlink.

References

Affected packages

Git / github.com/golang/go

Affected ranges

Type
GIT
Repo
https://github.com/golang/go
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Introduced
Fixed

Affected versions

go1.*
go1.24.0
go1.24.1
go1.24.2
go1.24.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-0913.json"