BIT-golang-2020-28367
Dashboard / Vulnerabilities / BIT-golang-2020-28367
BIT-golang-2020-28367
Published: 6 Mar 2024Last Modified: 20 May 2025
Aliases:
Summary: Arbitrary code execution via the go command with cgo in cmd/go
Details: Code injection in the go command with cgo before Go 1.14.12 and Go 1.15.5 allows arbitrary code execution at build time via malicious gcc flags specified via a #cgo directive.
References: https://go.dev/cl/267277, https://go.dev/issue/42556, https://go.googlesource.com/go/+/da7aa86917811a571e6634b45a457f918b8e6561, https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM, https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html, https://pkg.go.dev/vuln/GO-2022-0476, https://nvd.nist.gov/vuln/detail/CVE-2020-28367
Affected packages
Package
Name: golang
Purl: pkg:bitnami/golang
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.14.12
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
