CVE-2024-37820 json
PingCAP TiDB nil pointer dereference
published 2024-06-25 2 y ago modified 2026-09-10 1 mo ago also GHSA-9g6g-xqv5-8g5w , GO-2024-3284 , EUVD-2024-2219
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 31%
- public exploits
- 0
- none known
Summary
A nil pointer dereference in PingCAP TiDB v8.2.0-alpha-216-gfe5858b allows attackers to crash the application via expression.inferCollation.
Patch / fix
- go github.com/pingcap/tidb 8.2.0
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20241209T183251-1.1
opensuse advisories openSUSE-SU-2024:14567-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-37820 updated cvss 5.5
tidb: Null pointer dereference in expression.inferCollation
-
Red Hat build of Quarkus com.redhat.quarkus.platform-quarkus-platform-config com.redhat.quarkus.platform-quarkus-platform-configaffected: no fix available
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.38% chance of exploitation in the next 30 days, higher than 31% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L |
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/pingcap/tidb | <8.2.0 all versions |
8.2.0 |
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
References
-
github.com
/pingcap/tidb/commit/3d68bd21240c610c6307713e2bd54a5e71c32608
web, patch
-
github.com
/pingcap/tidb/issues/53580
web, report
-
gist.github.com
/ycybfhb/a9c1e14ce281f2f553adca84d384b761
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-37820
advisory
-
github.com
/advisories/GHSA-9g6g-xqv5-8g5w
advisory
-
github.com
/pingcap/tidb
package
Sources
- CVE List CVE-2024-37820
- GitHub Advisory GHSA-9g6g-xqv5-8g5w
- NVD CVE-2024-37820
- OSV GO-2024-3284
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.