{
  "affected": [
    {
      "database_specific": {
        "unresolved_ranges": [
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2018-06-27"
              }
            ]
          },
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2018-06-27"
              }
            ]
          }
        ]
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "daffe1f90ec57f8ed69464f9094753fc6452e983"
            }
          ],
          "repo": "https://github.com/golang/gddo",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "daffe1f90ec57f8ed69464f9094753fc6452e983"
            }
          ],
          "repo": "https://github.com/golang/gddo",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "In Go Doc Dot Org (gddo) through 2018-06-27, an attacker could use specially crafted \u003cgo-import\u003e tags in packages being fetched by gddo to cause a directory traversal and remote code execution.",
  "id": "CVE-2018-12976",
  "modified": "2026-03-13T21:55:09.816108545Z",
  "published": "2018-07-05T18:29:00.487Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://groups.google.com/forum/#%21msg/golang-announce/4rpTbfzYB1k/no6MEwlQAwAJ"
    },
    {
      "type": "FIX",
      "url": "https://github.com/golang/gddo/commit/daffe1f90ec57f8ed69464f9094753fc6452e983"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}