PT-2025-5843

CVE-2025-22867

·

Published

2025-02-06

·

Updated

2025-03-07

Description by

CVSS 3.1
7.5
High
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions: go versions 1.24rc2
Description: The issue is related to building a Go module that contains CGO on Darwin. It can trigger arbitrary code execution when using the Apple version of ld. This is due to the usage of special values @executable path, @loader path, or @rpath in a "#cgo LDFLAGS" directive.
Recommendations: For go version 1.24rc2, consider avoiding the use of the Apple version of ld or refrain from using the special values @executable path, @loader path, or @rpath in the "#cgo LDFLAGS" directive until a patch is available. As a temporary workaround, consider disabling the CGO functionality in the Go module to prevent potential arbitrary code execution.
Exploitability
Fix
Researchers
Vendors
Affected products
Related identifiers
BIT-GOLANG-2025-22867
ECHO-D085-1C12-AA45
GO-2025-3428
OPENSUSE-SU-2025_0429-1
OPENSUSE-SU-2025_0431-1
OPENSUSE-SU-2025:14735-1
OPENSUSE-SU-2025:14754-1
SUSE-SU-2025:0429-1
SUSE-SU-2025:0431-1
SUSE-SU-2025_0431-1
Found an issue in the description? Have something to add? Feel free to write us 👾