896 matches found
Go-Get-RCE-CVE-2018-6574-POC
CVE-2018-6574 POC LINK https://nvd.nist.gov/vuln/detail/CVE-2018-6574 http://blog.nsfocus.net/cve-2018-6574/ RUN go get github.com/neargle/CVE-2018-6574-POC DETAIL payload at: https://github.com/neargle/CVE-2018-6574-POC/blob/master/calc.cL10 Now it supports all platforms using CGO features. Afte...
CVE-2018-6574
CVE-2018-6574 Exploit for remote command execution in Golang go get command. Introduction When you go get a package, Go is designed to build and install the package without running any code from it. The intent is that you can safely get, build, and even install Go packages without trusting them a...
CVE-2018-6574
CVE-2018-6574 POC Exploit POC For CVE-2018-6574 Compile 1. Create an exploit file with the following: include include static void malicious attributeconstructor; void malicious system"COMMAND"; 2. Compile it: gcc -shared -o exploit.so -fPIC exploit.c 3. Finally, you need the go code that will tel...
CVE-2024-24787-PoC
CVE-2024-24787-PoC 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 -ltolibrary flag in a "cgo LDFLAGS" directive. This is not my bug, I just made a PoC for it. Reference...
CVE-2018-6574
CVE-2018-6574 Steps to reproduce: 1. Create a .c file containing the malicious command revshell: include include static void malicious attributeconstructor; void malicious system""; 2. Compile it using GCC. You must compile it on the exact architecture and OS as the target e.g. Linux x8664: gcc...
BIT-GOLANG-2026-97038 Arbitrary code execution via crafted .syso files and cgo linker input files in cmd/go
Building a malicious package containing ".syso" files or cgo linker inputs could inject arbitrary linker flags or execute arbitrary code at link time. Linker input files—including ".syso" files, direct object or library inputs in "cgo LDFLAGS", and libraries in "-L" directories—were passed to the...
BIT-GOLANG-2026-97037 Linker script injection via split -Wl, flags and Darwin or symbol linker flags in cgo in cmd/go
Building a malicious package that uses cgo could cause arbitrary code execution at link time by passing linker script files to the host linker via "cgo LDFLAGS". Split "-Wl," flags that consume a following argument such as "-Wl,-rpath", "-Wl,--just-symbols", and "-Wl,-undefined" previously accept...
BIT-GOLANG-2026-97036 Arbitrary code execution during build on darwin via "-l to_library" in cgo in cmd/go
On Darwin, building a malicious package that uses cgo could cause arbitrary code execution when using the Apple linker due to passing "-l tolibrary " in a "cgo LDFLAGS" directive. The Apple linker recombines the separated arguments "-l" and "tolibrary" into "-ltolibrary", which loads an arbitrary...
BIT-GOLANG-2026-97035 Unexpected code execution and arbitrary file write via Clang -gen-* and GCC -gnat* flags in cgo in cmd/go
When using Clang or GCC, building a malicious package that uses cgo could cause unexpected code execution at build time or write files to arbitrary directories via "-gen-" or "-gnat" flags in "cgo" directives. The "-g" wildcard in the compiler and linker flag allowlists previously matched Clang's...
BIT-GOLANG-2026-97033 Unexpected code execution via --sysroot, -target, -isysroot, -Wl,-syslibroot, and -x cgo flags in cmd/go
Building a malicious package that uses cgo could cause arbitrary code execution at build time through several compiler and linker flags permitted in "cgo" directives. Specifically, "--sysroot" in GCC and Clang relocates compiler subprograms, spec files, and CRT startup objects to an...
AlmaLinux 9.2 [TuxCare] Security Update: go-toolset / golang / golang-bin / golang-docs / golang-misc / etc Multiple Vulnerabilities (ALMALINUX9.2:CLSA-2026:1795709502)
The AlmaLinux 9.2 host has packages installed that are affected by multiple vulnerabilities as referenced in the TuxCare ALMALINUX9.2:CLSA-2026:1795709502 advisory. - When using GCC, building a malicious package that uses cgo could cause arbitrary command execution at link time via untrusted GCC...
RHEL 8 : go-toolset:rhel8 (RHSA-2026:102592)
The remote Redhat Enterprise Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2026:102592 advisory. Go Toolset provides the Go programming language tools and libraries. Go is alternatively known as golang. Security Fixes: cmd/go: golang:...
RockyLinux 8 : go-toolset:rhel8 (RLSA-2026:102592)
The remote RockyLinux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the RLSA-2026:102592 advisory. cmd/go: golang: cmd/go: arbitrary command execution via untrusted GCC spec files CVE-2026-97034 cmd/go: cmd/compile: golang: golang: arbitrary code...
AlmaLinux 9.2 [TuxCare] Security Update: go-toolset / golang / golang-bin / golang-docs / golang-misc / etc Multiple Vulnerabilities (ALMALINUX9.2:CLSA-2026:1795615684)
The AlmaLinux 9.2 host has packages installed that are affected by multiple vulnerabilities as referenced in the TuxCare ALMALINUX9.2:CLSA-2026:1795615684 advisory. - Building a malicious package that uses cgo could cause arbitrary code execution at build time through several compiler and linker...
RHEL 10 : golang (RHSA-2026:102587)
The remote Redhat Enterprise Linux 10 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2026:102587 advisory. The golang packages provide the Go programming language compiler. Security Fixes: cmd/go: golang: cmd/go: arbitrary command execution via...
RockyLinux 10 : golang (RLSA-2026:102587)
The remote RockyLinux 10 host has packages installed that are affected by multiple vulnerabilities as referenced in the RLSA-2026:102587 advisory. cmd/go: golang: cmd/go: arbitrary command execution via untrusted GCC spec files CVE-2026-97034 cmd/go: cmd/compile: golang: golang: arbitrary code...
CLSA-2026-1795615684 golang: Fix of 5 CVEs
CVE-2026-78659: net/http - charge every field name declared in an HTTP/2 "Trailer" header against a separate trailer header list budget, so a client can no longer make the server allocate a disproportionate amount of memory for Request.Trailer - CVE-2026-97033: cmd/go - disallow --sysroot and...
RLSA-2026:102587 Moderate: golang security, bug fix, and enhancement update
The golang packages provide the Go programming language compiler. Security Fixes: cmd/go: golang: cmd/go: arbitrary command execution via untrusted GCC spec files CVE-2026-97034 cmd/go: cmd/compile: golang: golang: arbitrary code execution via crafted cgo compiler directives CVE-2026-97043 cmd/go...
RLSA-2026:102586 Moderate: golang security, bug fix, and enhancement update
The golang packages provide the Go programming language compiler. Security Fixes: cmd/go: golang: cmd/go: arbitrary command execution via untrusted GCC spec files CVE-2026-97034 cmd/go: cmd/compile: golang: golang: arbitrary code execution via crafted cgo compiler directives CVE-2026-97043 cmd/go...
go-toolset:rhel8 security, bug fix, and enhancement update
An update is available for module.golang, delve, module.delve, golang. This update affects Rocky Linux 8. A Common Vulnerability Scoring System CVSS base score, which gives a detailed severity rating, is available for each vulnerability from the CVE list Go Toolset provides the Go programming...