CVE-2024-37820 PingCAP TiDB nil pointer dereference
Attackers can crash the TiDB database application by triggering a nil pointer dereference in the expression collation inference logic.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-37820?
CVE-2024-37820 is a medium-severity vulnerability in n/a, published on 25 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A nil pointer dereference in PingCAP TiDB v8.2.0-alpha-216-gfe5858b allows attackers to crash the application via expression.inferCollation.
Weakness: CWE-476
Which versions are affected by CVE-2024-37820?
3 open source packages ship an affected version, including github.com/pingcap/tidb.
| Package | Affected | Fixed in |
|---|---|---|
github.com/pingcap/tidb Go | All versions | None |
github.com/pingcap/tidb Go | All versions | 8.2.0 |
github.com/pingcap/tidb Go | All versions | 8.2.0 |
How do I fix CVE-2024-37820?
Upgrade github.com/pingcap/tidb to 8.2.0 or later.
Is CVE-2024-37820 being exploited?
There is no known exploitation of CVE-2024-37820 in the wild and no public exploit code.
Sources
Also known as GHSA-9g6g-xqv5-8g5w, GO-2024-3284, MINI-3934-rgpq-pw4c, MINI-f393-x5hh-4x92.