Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Improper sanitization of LDFLAGS with embedded spaces in go command with cgo in cmd/go

cve-program · severity unknownEUVD CVSS 3.1 9.8 CVSS 3.1 · [email protected] · Primary 9.8 CRITICALCVSS 3.1 · 134c704f-9b21-4f2e-91b3-4a467353bcc0 · Secondary 9.8 CRITICALosv · severity unknownFixed by toolchain 1.19.10Fixed by toolchain 1.20.5KEV status unknown

cve-program · CVE-2023-29405

Published

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. Flags containing embedded spaces are mishandled, allowing disallowed flags to be smuggled through the LDFLAGS sanitization by including them in the argument of another flag. This only affects usage of the gccgo compiler.

Read the publisher's advisory

euvd · EUVD-2023-32976

Published

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. Flags containing embedded spaces are mishandled, allowing disallowed flags to be smuggled through the LDFLAGS sanitization by including them in the argument of another flag. This only affects usage of the gccgo compiler.

Read the publisher's advisory

nvd · CVE-2023-29405

Published

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. Flags containing embedded spaces are mishandled, allowing disallowed flags to be smuggled through the LDFLAGS sanitization by including them in the argument of another flag. This only affects usage of the gccgo compiler.

Read the publisher's advisory

osv · GO-2023-1842

Published

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. Flags containing embedded spaces are mishandled, allowing disallowed flags to be smuggled through the LDFLAGS sanitization by including them in the argument of another flag. This only affects usage of the gccgo compiler.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2023-29405

Published

cmd/go

https://pkg.go.dev

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "Go toolchain",
                    "product": "cmd/go",
                    "collectionURL": "https://pkg.go.dev",
                    "packageName": "cmd/go",
                    "versions": [
                        {
                            "version": "0",
                            "lessThan": "1.19.10",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "1.20.0-0",
                            "lessThan": "1.20.5",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }

cmd/cgo

https://pkg.go.dev

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "Go toolchain",
                    "product": "cmd/cgo",
                    "collectionURL": "https://pkg.go.dev",
                    "packageName": "cmd/cgo",
                    "versions": [
                        {
                            "version": "0",
                            "lessThan": "1.19.10",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "1.20.0-0",
                            "lessThan": "1.20.5",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2023-32976

Published

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Jun 8, 2023, 8:19:19 PM

dateUpdated: Jan 6, 2025, 7:44:24 PM

14 related source bulletins · separate from aliases

SUSE-SU-2023:2525-1: Security update for go1.19

CVE-2023-29402 · CVE-2023-29403 · CVE-2023-29404 · CVE-2023-29405

RHSA-2023:3920: Red Hat Security Advisory: go-toolset-1.19 and go-toolset-1.19-golang security update

CVE-2023-29402 · CVE-2023-29403 · CVE-2023-29404 · CVE-2023-29405

RHSA-2023:3922: Red Hat Security Advisory: go-toolset:rhel8 security update

CVE-2023-29402 · CVE-2023-29403 · CVE-2023-29404 · CVE-2023-29405

WID-SEC-W-2023-2917: Xerox FreeFlow Print Server: Mehrere Schwachstellen

CVE-2017-5715 · CVE-2018-3639 · CVE-2021-44917 · CVE-2021-46784 · CVE-2022-31008 · CVE-2022-32206 · CVE-2022-32221 · CVE-2022-3924 · CVE-2022-41409 · CVE-2022-48337 · CVE-2022-48338 · CVE-2022-48339 · CVE-2022-4899 · CVE-2023-0049 · CVE-2023-0051 · CVE-2023-0054 · CVE-2023-0288 · CVE-2023-0465 · CVE-2023-0466 · CVE-2023-0512 · CVE-2023-0666 · CVE-2023-0668 · CVE-2023-1127 · CVE-2023-1170 · CVE-2023-1175 · CVE-2023-1393 · CVE-2023-1906 · CVE-2023-1981 · CVE-2023-2004 · CVE-2023-22025 · CVE-2023-22043 · CVE-2023-22067 · CVE-2023-22081 · CVE-2023-22128 · CVE-2023-22129 · CVE-2023-23914 · CVE-2023-23915 · CVE-2023-23916 · CVE-2023-24329 · CVE-2023-24805 · CVE-2023-25193 · CVE-2023-2650 · CVE-2023-27985 · CVE-2023-27986 · CVE-2023-2828 · CVE-2023-28319 · CVE-2023-28320 · CVE-2023-28321 · CVE-2023-28322 · CVE-2023-28450 · CVE-2023-2854 · CVE-2023-2855 · CVE-2023-2857 · CVE-2023-2858 · CVE-2023-2879 · CVE-2023-28879 · CVE-2023-2911 · CVE-2023-29402 · CVE-2023-29403 · CVE-2023-29404 · CVE-2023-29405 · CVE-2023-29406 · CVE-2023-29409 · CVE-2023-29491 · CVE-2023-29499 · CVE-2023-30581 · CVE-2023-30582 · CVE-2023-30583 · CVE-2023-30584 · CVE-2023-30585 · CVE-2023-30586 · CVE-2023-30587 · CVE-2023-30588 · CVE-2023-30589 · CVE-2023-30590 · CVE-2023-31122 · CVE-2023-31124 · CVE-2023-31130 · CVE-2023-31147 · CVE-2023-3138 · CVE-2023-31484 · CVE-2023-31486 · CVE-2023-3195 · CVE-2023-32002 · CVE-2023-32003 · CVE-2023-32004 · CVE-2023-32005 · CVE-2023-32006 · CVE-2023-32067 · CVE-2023-3247 · CVE-2023-32558 · CVE-2023-32559 · CVE-2023-32573 · CVE-2023-32611 · CVE-2023-32636 · CVE-2023-32643 · CVE-2023-32665 · CVE-2023-32681 · CVE-2023-32762 · CVE-2023-32763 · CVE-2023-34241 · CVE-2023-34969 · CVE-2023-36053 · CVE-2023-36191 · CVE-2023-3666 · CVE-2023-36664 · CVE-2023-37201 · CVE-2023-37202 · CVE-2023-37207 · CVE-2023-37208 · CVE-2023-37211 · CVE-2023-3823 · CVE-2023-3824 · CVE-2023-38403 · CVE-2023-4045 · CVE-2023-4046 · CVE-2023-4047 · CVE-2023-40477 · CVE-2023-4048 · CVE-2023-4049 · CVE-2023-4050 · CVE-2023-4054 · CVE-2023-4055 · CVE-2023-4056 · CVE-2023-41080 · CVE-2023-41081 · CVE-2023-43622 · CVE-2023-4504 · CVE-2023-4573 · CVE-2023-4574 · CVE-2023-4575 · CVE-2023-4576 · CVE-2023-45802 · CVE-2023-4581 · CVE-2023-4584

WID-SEC-W-2023-1377: Golang Go: Mehrere Schwachstellen

CVE-2023-29402 · CVE-2023-29403 · CVE-2023-29404 · CVE-2023-29405

ICSA-24-046-11: Siemens SCALANCE XCM-/XRM-300

CVE-2006-20001 · CVE-2020-10735 · CVE-2021-3445 · CVE-2021-3638 · CVE-2021-4037 · CVE-2021-36369 · CVE-2021-43666 · CVE-2021-45451 · CVE-2022-1015 · CVE-2022-1348 · CVE-2022-2586 · CVE-2022-2880 · CVE-2022-3294 · CVE-2022-3437 · CVE-2022-3515 · CVE-2022-4415 · CVE-2022-4743 · CVE-2022-4744 · CVE-2022-4900 · CVE-2022-4904 · CVE-2022-23471 · CVE-2022-23521 · CVE-2022-24834 · CVE-2022-26691 · CVE-2022-28737 · CVE-2022-28738 · CVE-2022-28739 · CVE-2022-29154 · CVE-2022-29162 · CVE-2022-29187 · CVE-2022-29536 · CVE-2022-32148 · CVE-2022-34903 · CVE-2022-34918 · CVE-2022-36021 · CVE-2022-36227 · CVE-2022-36760 · CVE-2022-37436 · CVE-2022-37454 · CVE-2022-37797 · CVE-2022-38725 · CVE-2022-39189 · CVE-2022-39260 · CVE-2022-41409 · CVE-2022-41556 · CVE-2022-41715 · CVE-2022-41717 · CVE-2022-41723 · CVE-2022-41860 · CVE-2022-41861 · CVE-2022-41862 · CVE-2022-41903 · CVE-2022-42919 · CVE-2022-44370 · CVE-2022-45061 · CVE-2022-45142 · CVE-2022-45919 · CVE-2022-46392 · CVE-2022-46393 · CVE-2022-47629 · CVE-2022-48303 · CVE-2022-48434 · CVE-2023-0160 · CVE-2023-0330 · CVE-2023-0361 · CVE-2023-0494 · CVE-2023-0567 · CVE-2023-0568 · CVE-2023-0590 · CVE-2023-0662 · CVE-2023-1206 · CVE-2023-1380 · CVE-2023-1393 · CVE-2023-1611 · CVE-2023-1670 · CVE-2023-1838 · CVE-2023-1855 · CVE-2023-1859 · CVE-2023-1989 · CVE-2023-1990 · CVE-2023-2002 · CVE-2023-2124 · CVE-2023-2194 · CVE-2023-2269 · CVE-2023-2861 · CVE-2023-2953 · CVE-2023-3006 · CVE-2023-3090 · CVE-2023-3111 · CVE-2023-3141 · CVE-2023-3212 · CVE-2023-3247 · CVE-2023-3268 · CVE-2023-3301 · CVE-2023-3316 · CVE-2023-3390 · CVE-2023-3611 · CVE-2023-3776 · CVE-2023-3863 · CVE-2023-4128 · CVE-2023-4194 · CVE-2023-20593 · CVE-2023-21255 · CVE-2023-22490 · CVE-2023-22742 · CVE-2023-22745 · CVE-2023-23454 · CVE-2023-23931 · CVE-2023-23934 · CVE-2023-23946 · CVE-2023-24538 · CVE-2023-25153 · CVE-2023-25155 · CVE-2023-25193 · CVE-2023-25588 · CVE-2023-25690 · CVE-2023-25727 · CVE-2023-26081 · CVE-2023-26965 · CVE-2023-27522 · CVE-2023-27534 · CVE-2023-27535 · CVE-2023-27536 · CVE-2023-28450 · CVE-2023-28466 · CVE-2023-28486 · CVE-2023-28487 · CVE-2023-29402 · CVE-2023-29404 · CVE-2023-29405 · CVE-2023-29406 · CVE-2023-29409 · CVE-2023-30086 · CVE-2023-30456 · CVE-2023-30772 · CVE-2023-31084 · CVE-2023-31124 · CVE-2023-31130 · CVE-2023-31147 · CVE-2023-31436 · CVE-2023-31489 · CVE-2023-32067 · CVE-2023-32233 · CVE-2023-32573 · CVE-2023-33203 · CVE-2023-34256 · CVE-2023-34872 · CVE-2023-34969 · CVE-2023-35001 · CVE-2023-35788 · CVE-2023-35789 · CVE-2023-35823 · CVE-2023-35824 · CVE-2023-35828 · CVE-2023-36054 · CVE-2023-36617 · CVE-2023-36664 · CVE-2023-37920 · CVE-2023-38559 · CVE-2023-40283

openSUSE-SU-2024:12988-1: go1.20-1.20.5-1.1 on GA media

CVE-2023-29402 · CVE-2023-29403 · CVE-2023-29404 · CVE-2023-29405

RHSA-2023:3923: Red Hat Security Advisory: go-toolset and golang security update

CVE-2023-29402 · CVE-2023-29403 · CVE-2023-29404 · CVE-2023-29405

msrc_CVE-2023-29405: Improper sanitization of LDFLAGS with embedded spaces in go command with cgo in cmd/go

CVE-2023-29405

SSA-806742: SSA-806742: Multiple Vulnerabilities in SCALANCE XCM-/XRM-300 before V2.4

CVE-2006-20001 · CVE-2020-10735 · CVE-2021-3445 · CVE-2021-3638 · CVE-2021-4037 · CVE-2021-36369 · CVE-2021-43666 · CVE-2021-45451 · CVE-2022-1015 · CVE-2022-1348 · CVE-2022-2586 · CVE-2022-2880 · CVE-2022-3294 · CVE-2022-3437 · CVE-2022-3515 · CVE-2022-4415 · CVE-2022-4743 · CVE-2022-4744 · CVE-2022-4900 · CVE-2022-4904 · CVE-2022-23471 · CVE-2022-23521 · CVE-2022-24834 · CVE-2022-26691 · CVE-2022-28737 · CVE-2022-28738 · CVE-2022-28739 · CVE-2022-29154 · CVE-2022-29162 · CVE-2022-29187 · CVE-2022-29536 · CVE-2022-32148 · CVE-2022-34903 · CVE-2022-34918 · CVE-2022-36021 · CVE-2022-36227 · CVE-2022-36760 · CVE-2022-37436 · CVE-2022-37454 · CVE-2022-37797 · CVE-2022-38725 · CVE-2022-39189 · CVE-2022-39260 · CVE-2022-41409 · CVE-2022-41556 · CVE-2022-41715 · CVE-2022-41717 · CVE-2022-41723 · CVE-2022-41860 · CVE-2022-41861 · CVE-2022-41862 · CVE-2022-41903 · CVE-2022-42919 · CVE-2022-44370 · CVE-2022-45061 · CVE-2022-45142 · CVE-2022-45919 · CVE-2022-46392 · CVE-2022-46393 · CVE-2022-47629 · CVE-2022-48303 · CVE-2022-48434 · CVE-2023-0160 · CVE-2023-0330 · CVE-2023-0361 · CVE-2023-0494 · CVE-2023-0567 · CVE-2023-0568 · CVE-2023-0590 · CVE-2023-0662 · CVE-2023-1206 · CVE-2023-1380 · CVE-2023-1393 · CVE-2023-1611 · CVE-2023-1670 · CVE-2023-1838 · CVE-2023-1855 · CVE-2023-1859 · CVE-2023-1989 · CVE-2023-1990 · CVE-2023-2002 · CVE-2023-2124 · CVE-2023-2194 · CVE-2023-2269 · CVE-2023-2861 · CVE-2023-2953 · CVE-2023-3006 · CVE-2023-3090 · CVE-2023-3111 · CVE-2023-3141 · CVE-2023-3212 · CVE-2023-3247 · CVE-2023-3268 · CVE-2023-3301 · CVE-2023-3316 · CVE-2023-3390 · CVE-2023-3611 · CVE-2023-3776 · CVE-2023-3863 · CVE-2023-4128 · CVE-2023-4194 · CVE-2023-20593 · CVE-2023-21255 · CVE-2023-22490 · CVE-2023-22742 · CVE-2023-22745 · CVE-2023-23454 · CVE-2023-23931 · CVE-2023-23934 · CVE-2023-23946 · CVE-2023-24538 · CVE-2023-25153 · CVE-2023-25155 · CVE-2023-25193 · CVE-2023-25588 · CVE-2023-25690 · CVE-2023-25727 · CVE-2023-26081 · CVE-2023-26965 · CVE-2023-27522 · CVE-2023-27534 · CVE-2023-27535 · CVE-2023-27536 · CVE-2023-28450 · CVE-2023-28466 · CVE-2023-28486 · CVE-2023-28487 · CVE-2023-29402 · CVE-2023-29404 · CVE-2023-29405 · CVE-2023-29406 · CVE-2023-29409 · CVE-2023-30086 · CVE-2023-30456 · CVE-2023-30772 · CVE-2023-31084 · CVE-2023-31124 · CVE-2023-31130 · CVE-2023-31147 · CVE-2023-31436 · CVE-2023-31489 · CVE-2023-32067 · CVE-2023-32233 · CVE-2023-32573 · CVE-2023-33203 · CVE-2023-34256 · CVE-2023-34872 · CVE-2023-34969 · CVE-2023-35001 · CVE-2023-35788 · CVE-2023-35789 · CVE-2023-35823 · CVE-2023-35824 · CVE-2023-35828 · CVE-2023-36054 · CVE-2023-36617 · CVE-2023-36664 · CVE-2023-37920 · CVE-2023-38559 · CVE-2023-40283

RHSA-2024:4119: Red Hat Security Advisory: Updated rhceph-5.3 container image and security update

CVE-2023-24540 · CVE-2023-29402 · CVE-2023-29404 · CVE-2023-29405 · CVE-2023-44487

openSUSE-SU-2024:12987-1: go1.19-1.19.10-1.1 on GA media

CVE-2023-29402 · CVE-2023-29403 · CVE-2023-29404 · CVE-2023-29405

SUSE-SU-2023:2526-1: Security update for go1.20

CVE-2023-29402 · CVE-2023-29403 · CVE-2023-29404 · CVE-2023-29405

WID-SEC-W-2023-2229: Splunk Splunk Enterprise: Mehrere Schwachstellen

CVE-2013-7489 · CVE-2018-10237 · CVE-2018-20225 · CVE-2019-20454 · CVE-2019-20838 · CVE-2020-14155 · CVE-2020-28469 · CVE-2020-28851 · CVE-2020-29652 · CVE-2020-8169 · CVE-2020-8177 · CVE-2020-8231 · CVE-2020-8284 · CVE-2020-8285 · CVE-2020-8286 · CVE-2020-8908 · CVE-2021-20066 · CVE-2021-22569 · CVE-2021-22876 · CVE-2021-22890 · CVE-2021-22897 · CVE-2021-22898 · CVE-2021-22901 · CVE-2021-22922 · CVE-2021-22923 · CVE-2021-22924 · CVE-2021-22925 · CVE-2021-22926 · CVE-2021-22945 · CVE-2021-22946 · CVE-2021-22947 · CVE-2021-23343 · CVE-2021-23382 · CVE-2021-27918 · CVE-2021-27919 · CVE-2021-29060 · CVE-2021-29425 · CVE-2021-29923 · CVE-2021-31525 · CVE-2021-31566 · CVE-2021-33194 · CVE-2021-33195 · CVE-2021-33196 · CVE-2021-33197 · CVE-2021-33198 · CVE-2021-34558 · CVE-2021-3520 · CVE-2021-3572 · CVE-2021-36221 · CVE-2021-36976 · CVE-2021-3803 · CVE-2021-38297 · CVE-2021-38561 · CVE-2021-39293 · CVE-2021-41182 · CVE-2021-41183 · CVE-2021-41184 · CVE-2021-41771 · CVE-2021-41772 · CVE-2021-43565 · CVE-2021-44716 · CVE-2021-44717 · CVE-2022-1705 · CVE-2022-1941 · CVE-2022-1962 · CVE-2022-22576 · CVE-2022-2309 · CVE-2022-23491 · CVE-2022-23772 · CVE-2022-23773 · CVE-2022-23806 · CVE-2022-24675 · CVE-2022-24921 · CVE-2022-24999 · CVE-2022-25881 · CVE-2022-27191 · CVE-2022-27536 · CVE-2022-27664 · CVE-2022-27774 · CVE-2022-27775 · CVE-2022-27776 · CVE-2022-27778 · CVE-2022-27779 · CVE-2022-27780 · CVE-2022-27781 · CVE-2022-27782 · CVE-2022-28131 · CVE-2022-28327 · CVE-2022-2879 · CVE-2022-2880 · CVE-2022-29526 · CVE-2022-29804 · CVE-2022-30115 · CVE-2022-30580 · CVE-2022-30629 · CVE-2022-30630 · CVE-2022-30631 · CVE-2022-30632 · CVE-2022-30633 · CVE-2022-30634 · CVE-2022-30635 · CVE-2022-31129 · CVE-2022-3171 · CVE-2022-32148 · CVE-2022-32149 · CVE-2022-32189 · CVE-2022-32205 · CVE-2022-32206 · CVE-2022-32207 · CVE-2022-32208 · CVE-2022-32221 · CVE-2022-33987 · CVE-2022-3509 · CVE-2022-3510 · CVE-2022-3517 · CVE-2022-35252 · CVE-2022-35260 · CVE-2022-35737 · CVE-2022-36227 · CVE-2022-37599 · CVE-2022-37601 · CVE-2022-37603 · CVE-2022-38900 · CVE-2022-40023 · CVE-2022-40897 · CVE-2022-40899 · CVE-2022-41715 · CVE-2022-41716 · CVE-2022-41720 · CVE-2022-41722 · CVE-2022-42003 · CVE-2022-42004 · CVE-2022-42915 · CVE-2022-42916 · CVE-2022-43551 · CVE-2022-43552 · CVE-2022-46175 · CVE-2023-23914 · CVE-2023-23915 · CVE-2023-23916 · CVE-2023-24539 · CVE-2023-24540 · CVE-2023-27533 · CVE-2023-27534 · CVE-2023-27535 · CVE-2023-27536 · CVE-2023-27537 · CVE-2023-27538 · CVE-2023-29400 · CVE-2023-29402 · CVE-2023-29403 · CVE-2023-29404 · CVE-2023-29405 · CVE-2023-40592 · CVE-2023-40593 · CVE-2023-40594 · CVE-2023-40595 · CVE-2023-40596 · CVE-2023-40597 · CVE-2023-40598

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2023-29405

Published

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Modified

Weakness classifications: CWE-74

Original publisher date fields

published: 2023-06-08T21:15:17.197

lastModified: 2026-06-17T05:49:58.753

2 source CPE criteria · context only
  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*

The original JSON retains the logical configuration operators, exclusions and version bounds.

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GO-2023-1842

Published

toolchain

Go

SEMVER · introduced 0 → fixed 1.19.10 → introduced 1.20.0-0 → fixed 1.20.5

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 23 Nov 07:22 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current