CVE-2024-37820
MEDIUM 5.4CVSS 3.1PingCAP TiDB nil pointer dereference
A nil pointer dereference in PingCAP TiDB v8.2.0-alpha-216-gfe5858b allows attackers to crash the application via expression.inferCollation.
- Published
- 25 Jun 2024
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-476
- Also known as
- GHSA-9g6g-xqv5-8g5wGO-2024-3284
- Sources
- NVDJSONOSV GHSA-9g6g-xqv5-8g5wJSONOSV GO-2024-3284JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/pingcap/tidb | < 8.2.0 | 8.2.0 |
| OSV | Go | github.com/pingcap/tidb | all versions |
References
- https://gist.github.com/ycybfhb/a9c1e14ce281f2f553adca84d384b761 · WEB
- https://github.com/pingcap/tidb/issues/53580 · WEB, REPORT
- https://nvd.nist.gov/vuln/detail/CVE-2024-37820 · ADVISORY
- https://github.com/pingcap/tidb/commit/3d68bd21240c610c6307713e2bd54a5e71c32608 · WEB, FIX
- https://github.com/advisories/GHSA-9g6g-xqv5-8g5w · ADVISORY
- https://github.com/pingcap/tidb · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 25 Jun 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 27 Nov 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Jun 2024)