ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2025-0913

No fix available 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

EcosystemPackageAffected versions
Ubuntu:14.04:LTSgolang-1.10
All versions, no fix listed
Ubuntu:16.04:LTSgolang-1.10
All versions, no fix listed
Ubuntu:16.04:LTSgolang-1.6
All versions, no fix listed
Ubuntu:Pro:16.04:LTSgolang-1.13
All versions, no fix listed
Ubuntu:Pro:16.04:LTSgolang-1.18
All versions, no fix listed
Ubuntu:18.04:LTSgolang-1.10
All versions, no fix listed
Ubuntu:Pro:18.04:LTSgolang-1.13
All versions, no fix listed
Ubuntu:Pro:18.04:LTSgolang-1.16
All versions, no fix listed
Ubuntu:Pro:18.04:LTSgolang-1.18
All versions, no fix listed
Ubuntu:18.04:LTSgolang-1.8
All versions, no fix listed
Ubuntu:18.04:LTSgolang-1.9
All versions, no fix listed
Ubuntu:20.04:LTSgolang-1.13
All versions, no fix listed
Ubuntu:20.04:LTSgolang-1.14
All versions, no fix listed
Ubuntu:Pro:20.04:LTSgolang-1.16
All versions, no fix listed
Ubuntu:20.04:LTSgolang-1.18
All versions, no fix listed
Ubuntu:20.04:LTSgolang-1.20
All versions, no fix listed
Ubuntu:20.04:LTSgolang-1.21
All versions, no fix listed
Ubuntu:20.04:LTSgolang-1.22
All versions, no fix listed
Ubuntu:22.04:LTSgolang-1.13
All versions, no fix listed
Ubuntu:22.04:LTSgolang-1.17
All versions, no fix listed
Ubuntu:22.04:LTSgolang-1.18
All versions, no fix listed
Ubuntu:22.04:LTSgolang-1.20
All versions, no fix listed
Ubuntu:22.04:LTSgolang-1.21
All versions, no fix listed
Ubuntu:22.04:LTSgolang-1.22
All versions, no fix listed
Ubuntu:22.04:LTSgolang-1.23
All versions, no fix listed
Ubuntu:22.04:LTSgolang-1.24
All versions, no fix listed
Ubuntu:24.04:LTSgolang-1.21
All versions, no fix listed
Ubuntu:24.04:LTSgolang-1.22
All versions, no fix listed
Ubuntu:24.04:LTSgolang-1.23
All versions, no fix listed
Ubuntu:25.10golang-1.23
All versions, no fix listed
Ubuntu:25.10golang-1.24
All versions, no fix listed
Ubuntu:26.04:LTSgolang-1.23
All versions, no fix listed
Ubuntu:26.04:LTSgolang-1.24
All versions, no fix listed

References