Bug 2344234 (CVE-2025-22867) - CVE-2025-22867 cmd/go: Arbitrary code execution during build on darwin in cmd/go
Summary: CVE-2025-22867 cmd/go: Arbitrary code execution during build on darwin in cmd/go
Keywords:
Status: NEW
Alias: CVE-2025-22867
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-06 18:01 UTC by OSIDB Bzimport
Modified: 2025-09-15 08:29 UTC (History)
18 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-06 18:01:33 UTC
On Darwin, building a Go module which contains CGO can trigger arbitrary code execution when using the Apple version of ld, due to usage of the @executable_path, @loader_path, or @rpath special values in a "#cgo LDFLAGS" directive. This issue only affected go1.24rc2.


Note You need to log in before you can comment on or make changes to this bug.