{
  "threat_severity" : "Important",
  "public_date" : "2023-06-08T00:00:00Z",
  "bugzilla" : {
    "description" : "golang: cmd/go: go command may execute arbitrary code at build time when using cgo",
    "id" : "2217565",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2217565"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.5",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-94",
  "details" : [ "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.", "A flaw was found in golang. The go command may execute arbitrary code at build time when using cgo. This can occur when running \"go get\" on a malicious module, or when running any other command which builds untrusted code. This can be 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." ],
  "statement" : "This vulnerability is only applicable to customer use of the GC & GCCGO compiler and not any pre-compiled golang binaries shipped by Red Hat.",
  "affected_release" : [ {
    "product_name" : "Red Hat Ceph Storage 5.3",
    "release_date" : "2024-06-26T00:00:00Z",
    "advisory" : "RHSA-2024:4119",
    "cpe" : "cpe:/a:redhat:ceph_storage:5.3::el8",
    "package" : "rhceph/keepalived-rhel8:2.1.5-42"
  }, {
    "product_name" : "Red Hat Ceph Storage 5.3",
    "release_date" : "2024-06-26T00:00:00Z",
    "advisory" : "RHSA-2024:4119",
    "cpe" : "cpe:/a:redhat:ceph_storage:5.3::el8",
    "package" : "rhceph/rhceph-5-dashboard-rhel8:5-87"
  }, {
    "product_name" : "Red Hat Ceph Storage 5.3",
    "release_date" : "2024-06-26T00:00:00Z",
    "advisory" : "RHSA-2024:4119",
    "cpe" : "cpe:/a:redhat:ceph_storage:5.3::el8",
    "package" : "rhceph/rhceph-5-rhel8:5-519"
  }, {
    "product_name" : "Red Hat Ceph Storage 5.3",
    "release_date" : "2024-06-26T00:00:00Z",
    "advisory" : "RHSA-2024:4119",
    "cpe" : "cpe:/a:redhat:ceph_storage:5.3::el8",
    "package" : "rhceph/rhceph-haproxy-rhel8:2.2.19-35"
  }, {
    "product_name" : "Red Hat Ceph Storage 5.3",
    "release_date" : "2024-06-26T00:00:00Z",
    "advisory" : "RHSA-2024:4119",
    "cpe" : "cpe:/a:redhat:ceph_storage:5.3::el8",
    "package" : "rhceph/snmp-notifier-rhel8:1.2.1-69"
  }, {
    "product_name" : "Red Hat Developer Tools",
    "release_date" : "2023-06-29T00:00:00Z",
    "advisory" : "RHSA-2023:3920",
    "cpe" : "cpe:/a:redhat:devtools:2023::el7",
    "package" : "go-toolset-1.19-0:1.19.10-1.el7_9"
  }, {
    "product_name" : "Red Hat Developer Tools",
    "release_date" : "2023-06-29T00:00:00Z",
    "advisory" : "RHSA-2023:3920",
    "cpe" : "cpe:/a:redhat:devtools:2023::el7",
    "package" : "go-toolset-1.19-golang-0:1.19.10-1.el7_9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2023-06-29T00:00:00Z",
    "advisory" : "RHSA-2023:3922",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "go-toolset:rhel8-8080020230627164522.6b4b45d8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2023-06-29T00:00:00Z",
    "advisory" : "RHSA-2023:3923",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "golang-0:1.19.10-1.el9_2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2023-06-29T00:00:00Z",
    "advisory" : "RHSA-2023:3923",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "go-toolset-0:1.19.10-1.el9_2"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Ceph Storage 3",
    "fix_state" : "Will not fix",
    "package_name" : "golang",
    "cpe" : "cpe:/a:redhat:ceph_storage:3"
  }, {
    "product_name" : "Red Hat Storage 3",
    "fix_state" : "Will not fix",
    "package_name" : "golang",
    "cpe" : "cpe:/a:redhat:storage:3"
  }, {
    "product_name" : "Red Hat Storage 3",
    "fix_state" : "Will not fix",
    "package_name" : "go-toolset-7-golang",
    "cpe" : "cpe:/a:redhat:storage:3"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2023-29404\nhttps://nvd.nist.gov/vuln/detail/CVE-2023-29404\nhttps://go.dev/cl/501225\nhttps://go.dev/issue/60305\nhttps://groups.google.com/g/golang-announce/c/q5135a9d924/m/j0ZoAJOHAwAJ\nhttps://pkg.go.dev/vuln/GO-2023-1841" ],
  "name" : "CVE-2023-29404",
  "csaw" : false
}