Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CVE Vulnerability Details :
CVE-2025-22867
PUBLISHED
More InfoOfficial Page
Assigner-Go
Assigner Org ID-1bb62c36-49e3-4200-9d77-64a1400537cc
View Known Exploited Vulnerability (KEV) details
Published At-06 Feb, 2025 | 17:09
Updated At-06 Feb, 2025 | 21:23
Rejected At-
▼CVE Numbering Authority (CNA)
Arbitrary code execution during build on darwin in cmd/go

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.

Affected Products
Vendor
Go toolchain
Product
cmd/go
Collection URL
https://pkg.go.dev
Package Name
cmd/go
Platforms
  • darwin
Default Status
unaffected
Versions
Affected
  • From 1.24.0-rc.2 before 1.24.0-rc.3 (semver)
Problem Types
TypeCWE IDDescription
N/AN/ACWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
Type: N/A
CWE ID: N/A
Description: CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Juho Forsén of Mattermost
Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://go.dev/cl/646996
N/A
https://go.dev/issue/71476
N/A
https://groups.google.com/g/golang-dev/c/TYzikTgHK6Y
N/A
https://pkg.go.dev/vuln/GO-2025-3428
N/A
Hyperlink: https://go.dev/cl/646996
Resource: N/A
Hyperlink: https://go.dev/issue/71476
Resource: N/A
Hyperlink: https://groups.google.com/g/golang-dev/c/TYzikTgHK6Y
Resource: N/A
Hyperlink: https://pkg.go.dev/vuln/GO-2025-3428
Resource: N/A
▼Authorized Data Publishers (ADP)
CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
3.17.5HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Version: 3.1
Base score: 7.5
Base severity: HIGH
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Details not found