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.
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| golang-1.10 | — | — |
| golang-1.13 | — | — |
| golang-1.14 | — | — |
| golang-1.16 | — | — |
| golang-1.17 | — | 1.17.13-3ubuntu1.2 |
| golang-1.18 | — | 1.18.1-1ubuntu1.2 |
| golang-1.20 | — | — |
| golang-1.6 | — | — |
| golang-1.8 | — | — |
| golang-1.9 | — | — |
References
Similar Threats
- Unknown UBUNTU-CVE-2023-24531
- Unknown UBUNTU-CVE-2023-24534
- Unknown UBUNTU-CVE-2023-24532
- Unknown UBUNTU-CVE-2022-41723
- Unknown UBUNTU-CVE-2022-41725
Free Vulnerability Check
Is your WordPress site affected?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.