Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-78F2E491-312D-11EE-85F2-BD89B893FCB4 (CVE-2023-29404): go -- multiple vulnerabilities

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

FreeBSD: VID-78F2E491-312D-11EE-85F2-BD89B893FCB4 (CVE-2023-29404): go -- multiple vulnerabilities

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
04/27/2023
Created
08/04/2023
Added
08/03/2023
Modified
08/03/2023

Description

The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a "#cgo LDFLAGS" directive. The arguments for a number of flags which are non-optional are incorrectly considered optional, allowing disallowed flags to be smuggled through the LDFLAGS sanitization. This affects usage of both the gc and gccgo compilers.

Solution(s)

  • freebsd-upgrade-package-go119
  • freebsd-upgrade-package-go120

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;