BIT-golang-2025-0913

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/golang/BIT-golang-2025-0913.json
JSON Data
https://api.osv.dev/v1/vulns/BIT-golang-2025-0913
Aliases
Published
2025-06-14T05:46:34.191Z
Modified
2025-07-11T17:31:26.637Z
Summary
Inconsistent handling of O_CREATE|O_EXCL on Unix and Windows in os in syscall
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.

Database specific
{
    "severity": "Medium",
    "cpes": [
        "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*"
    ]
}
References

Affected packages

Bitnami / golang

Package

Name
golang
Purl
pkg:bitnami/golang

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

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.23.10
Introduced
1.24.0-0
Fixed
1.24.4