DHI-zqdx-z6t5-sba2-tzp6

Source
https://scout.docker.com/v/DHI-zqdx-z6t5-sba2-tzp6
Import Source
https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-zqdx-z6t5-sba2-tzp6.json
JSON Data
https://api.osv.dev/v1/vulns/DHI-zqdx-z6t5-sba2-tzp6
Upstream
  • CVE-2026-97033
Published
2026-11-18T19:52:05Z
Modified
2026-11-18T20:03:28Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Building a malicious package that uses cgo could cause arbitrary code execution at build time through several compiler…
Details

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 attacker-controlled directory; "-target" in Clang falls back to executing target helper tools from the current working directory when not found in PATH; "-isysroot" and "-Wl,-syslibroot" can pass a regular file on disk to GNU ld.bfd, which interprets it as a positional linker script; and "-x" permitted specifying arbitrary compiler input languages beyond those supported by cgo. "--sysroot" and "-target" are now disallowed in "#cgo" flags, "-isysroot" and "-Wl,-syslibroot" are verified not to point to regular files, and "-x" is restricted to the C, C++, Objective-C, and assembler languages supported by cgo.

References

Affected packages

Docker Hardened Images:Alpine:3.24 / go

Package

Name
go
Purl
pkg:apk/dhi/go

Affected ranges

Affected versions

1.*
1.26.4-r0
1.26.5-r0
1.27.0-r0
1.27.1-r0
1.27.2-r0
1.27.3-r0
1.27.4-r0

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-zqdx-z6t5-sba2-tzp6.json"