{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2.1.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "641517238da335236d206921a0be05dc09aa2903"
            }
          ],
          "repo": "https://github.com/wcharczuk/go-chart",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "go-chart v2.1.1 was discovered to contain an infinite loop via the drawCanvas() function.",
  "id": "CVE-2024-40060",
  "modified": "2026-03-13T21:46:37.633785472Z",
  "published": "2024-07-23T15:15:04.810Z",
  "references": [
    {
      "type": "EVIDENCE",
      "url": "https://gist.github.com/F3iG0n9/4d0d7c863eea6874eeeb26a3073aa5f8"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}