Ubuntu CVE Tracker
UBUNTU-CVE-2025-0913
Details
os.OpenFile(path, os.O_CREATE|O_EXCL) behaved differently on Unix and Windows systems when the target path was a dangling symlink. On Unix systems, OpenFile with O_CREATE and O_EXCL 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 O_CREATE and O_EXCL flags are both set and the target path is a symlink.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:14.04:LTS | golang-1.10 | All versions, no fix listed |
| Ubuntu:16.04:LTS | golang-1.10 | All versions, no fix listed |
| Ubuntu:16.04:LTS | golang-1.6 | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | golang-1.13 | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | golang-1.18 | All versions, no fix listed |
| Ubuntu:18.04:LTS | golang-1.10 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | golang-1.13 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | golang-1.16 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | golang-1.18 | All versions, no fix listed |
| Ubuntu:18.04:LTS | golang-1.8 | All versions, no fix listed |
| Ubuntu:18.04:LTS | golang-1.9 | All versions, no fix listed |
| Ubuntu:20.04:LTS | golang-1.13 | All versions, no fix listed |
| Ubuntu:20.04:LTS | golang-1.14 | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | golang-1.16 | All versions, no fix listed |
| Ubuntu:20.04:LTS | golang-1.18 | All versions, no fix listed |
| Ubuntu:20.04:LTS | golang-1.20 | All versions, no fix listed |
| Ubuntu:20.04:LTS | golang-1.21 | All versions, no fix listed |
| Ubuntu:20.04:LTS | golang-1.22 | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-1.13 | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-1.17 | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-1.18 | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-1.20 | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-1.21 | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-1.22 | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-1.23 | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-1.24 | All versions, no fix listed |
| Ubuntu:24.04:LTS | golang-1.21 | All versions, no fix listed |
| Ubuntu:24.04:LTS | golang-1.22 | All versions, no fix listed |
| Ubuntu:24.04:LTS | golang-1.23 | All versions, no fix listed |
| Ubuntu:25.10 | golang-1.23 | All versions, no fix listed |
| Ubuntu:25.10 | golang-1.24 | All versions, no fix listed |
| Ubuntu:26.04:LTS | golang-1.23 | All versions, no fix listed |
| Ubuntu:26.04:LTS | golang-1.24 | All versions, no fix listed |