{"id":"CVE-2024-37820","aliases":["CVE-2024-37820","GHSA-9g6g-xqv5-8g5w","GO-2024-3284"],"related":["CGA-r9jj-4c4x-944g"],"kind":"vulnerability","state":"published","title":"PingCAP TiDB nil pointer dereference","summary":"A nil pointer dereference in PingCAP TiDB v8.2.0-alpha-216-gfe5858b allows attackers to crash the application via expression.inferCollation.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A nil pointer dereference in PingCAP TiDB v8.2.0-alpha-216-gfe5858b allows attackers to crash the application via expression.inferCollation.","source":"cvelist"},{"lang":"en","text":"PingCAP TiDB nil pointer dereference in github.com/pingcap/tidb.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/pingcap/tidb before v8.2.0.","format":"markdown","source":"go"},{"lang":"es","text":"Una desreferencia de puntero nulo en PingCAP TiDB v8.2.0-alpha-216-gfe5858b permite a los atacantes bloquear la aplicación mediante expression.inferCollation.","source":"nvd"}],"published":"2024-06-25T00:00:00.000Z","modified":"2026-09-10T03:50:15.192Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.2.0"}],"ecosystem":"Go","package":"github.com/pingcap/tidb","purl":"pkg:golang/github.com/pingcap/tidb","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/pingcap/tidb","purl":"pkg:golang/github.com/pingcap/tidb","source":"go"}],"references":[{"url":"https://github.com/pingcap/tidb/issues/53580","tags":["report","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://gist.github.com/ycybfhb/a9c1e14ce281f2f553adca84d384b761","tags":["web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37820","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/pingcap/tidb/commit/3d68bd21240c610c6307713e2bd54a5e71c32608","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-9g6g-xqv5-8g5w","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/pingcap/tidb","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-06-25T19:54:40.558Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-37820","url":"https://www.cve.org/CVERecord?id=CVE-2024-37820","licence":"CVE Terms of Use","modified":"2024-11-21T19:03:29.772Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9g6g-xqv5-8g5w","url":"https://github.com/advisories/GHSA-9g6g-xqv5-8g5w","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:15.192Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-3284","url":"https://pkg.go.dev/vuln/GO-2024-3284","licence":"CC-BY-4.0","modified":"2026-07-15T14:29:33.681Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-37820","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37820","licence":"Public domain","modified":"2026-06-17T07:38:52.843Z"}],"updatedAt":"2026-11-25T22:58:42.233Z","epss":{"score":0.00377,"percentile":0.33733,"date":"2026-12-01T12:00:22.000Z"}}