High
Security advisory
go-chart v2.1.1 was discovered to contain an infinite loop via the drawCanvas() function.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-40060
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 09:56 UTC · Revision 1
Source evidence
go-chart v2.1.1 was discovered to contain an infinite loop via the drawCanvas() function.
osv:CVE-2024-40060
Complete source record
{
"id": "e1f0a4d807f58170f60f5a2168bf71118db1706016a56666c14bd478006b1443",
"url": "https://osv.dev/vulnerability/CVE-2024-40060",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-40060",
"summary": "go-chart v2.1.1 was discovered to contain an infinite loop via the drawCanvas() function.",
"evidence": "osv:CVE-2024-40060",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-40060",
"aliases": [
"CVE-2024-40060"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/wcharczuk/go-chart",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "641517238da335236d206921a0be05dc09aa2903"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:wcharczuk:go-chart:*:*:*:*:*:go:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.1.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v2.1.1",
"v2.1.0",
"v2.0.1",
"v2.0.0-rc.3",
"v2.0",
"v2.0.0-rc.2",
"v2.0.0-rc.1",
"v1.1.0",
"v1.0",
"v1.0.0-rc.2",
"v1.0.0-rc.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40060.json"
}
}
],
"modified": "2026-10-28T02:30:43.584963104Z",
"provider": "osv",
"references": [
"https://gist.github.com/F3iG0n9/4d0d7c863eea6874eeeb26a3073aa5f8",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40060.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-40060"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40060.json"
}
},
"related_cves": [
{
"value": "CVE-2024-40060",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 511546,
"published_at": "2024-07-23T00:00:00+00:00"
}