{
  "cveId": "CVE-2023-24531",
  "url": "https://patchblox.com/security/cve/CVE-2023-24531",
  "summary": "CVE-2023-24531 is fixed in 6 products on 1 platform, first by golang-1.17 1.17.13-3ubuntu1.2, released July 2, 2024. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "golang-1.18: Command go env is documented as outputting a shell script containing the Go environment",
  "description": "Command go env is documented as outputting a shell script containing the Go environment. However, go env doesn\u0027t sanitize values, so executing its output as a shell script can cause various bad bahaviors, including executing arbitrary commands or inserting new environment variables. This issue is relatively minor because, in general, if an attacker can set arbitrary environment variables on a system, they have better attack vectors than making \u0022go env\u0022 print them out.",
  "published": "2024-07-02T13:15:00Z",
  "severity": "Medium",
  "epss": 0.0084,
  "epssPercentile": 0.58112,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "golang-1.17",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "1.17.13-3ubuntu1.2",
      "fix": "golang-1.17 1.17.13-3ubuntu1.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-golang-1.17-1.17.13-3ubuntu1.2",
      "released": "2024-07-02T13:15:00Z"
    },
    {
      "platform": "linux",
      "product": "golang-1.17-go",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "1.17.13-3ubuntu1.2",
      "fix": "golang-1.17-go 1.17.13-3ubuntu1.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-golang-1.17-go-1.17.13-3ubuntu1.2",
      "released": "2024-07-02T13:15:00Z"
    },
    {
      "platform": "linux",
      "product": "golang-1.17-src",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "1.17.13-3ubuntu1.2",
      "fix": "golang-1.17-src 1.17.13-3ubuntu1.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-golang-1.17-src-1.17.13-3ubuntu1.2",
      "released": "2024-07-02T13:15:00Z"
    },
    {
      "platform": "linux",
      "product": "golang-1.18",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1.18.1-1ubuntu1~18.04.4\u002Besm1",
      "fix": "golang-1.18 1.18.1-1ubuntu1~18.04.4\u002Besm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-golang-1.18-1.18.1-1ubuntu1-18.04.4-esm1",
      "released": "2024-09-06T14:15:00Z"
    },
    {
      "platform": "linux",
      "product": "golang-1.18",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1.18.1-1ubuntu1~20.04.3",
      "fix": "golang-1.18 1.18.1-1ubuntu1~20.04.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-golang-1.18-1.18.1-1ubuntu1-20.04.3",
      "released": "2024-09-06T14:15:00Z"
    },
    {
      "platform": "linux",
      "product": "golang-1.18",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "1.18.1-1ubuntu1.2",
      "fix": "golang-1.18 1.18.1-1ubuntu1.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-golang-1.18-1.18.1-1ubuntu1.2",
      "released": "2024-09-06T14:15:00Z"
    },
    {
      "platform": "linux",
      "product": "golang-1.18-go",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1.18.1-1ubuntu1~18.04.4\u002Besm1",
      "fix": "golang-1.18-go 1.18.1-1ubuntu1~18.04.4\u002Besm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-golang-1.18-go-1.18.1-1ubuntu1-18.04.4-esm1",
      "released": "2024-09-06T14:15:00Z"
    },
    {
      "platform": "linux",
      "product": "golang-1.18-go",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1.18.1-1ubuntu1~20.04.3",
      "fix": "golang-1.18-go 1.18.1-1ubuntu1~20.04.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-golang-1.18-go-1.18.1-1ubuntu1-20.04.3",
      "released": "2024-09-06T14:15:00Z"
    },
    {
      "platform": "linux",
      "product": "golang-1.18-go",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "1.18.1-1ubuntu1.2",
      "fix": "golang-1.18-go 1.18.1-1ubuntu1.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-golang-1.18-go-1.18.1-1ubuntu1.2",
      "released": "2024-09-06T14:15:00Z"
    },
    {
      "platform": "linux",
      "product": "golang-1.18-src",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1.18.1-1ubuntu1~18.04.4\u002Besm1",
      "fix": "golang-1.18-src 1.18.1-1ubuntu1~18.04.4\u002Besm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-golang-1.18-src-1.18.1-1ubuntu1-18.04.4-esm1",
      "released": "2024-09-06T14:15:00Z"
    },
    {
      "platform": "linux",
      "product": "golang-1.18-src",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1.18.1-1ubuntu1~20.04.3",
      "fix": "golang-1.18-src 1.18.1-1ubuntu1~20.04.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-golang-1.18-src-1.18.1-1ubuntu1-20.04.3",
      "released": "2024-09-06T14:15:00Z"
    },
    {
      "platform": "linux",
      "product": "golang-1.18-src",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "1.18.1-1ubuntu1.2",
      "fix": "golang-1.18-src 1.18.1-1ubuntu1.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-golang-1.18-src-1.18.1-1ubuntu1.2",
      "released": "2024-09-06T14:15:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T19:12:23Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}