Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/pingcap/tidb
  4. ›
  5. CVE-2024-37820

CVE-2024-37820: PingCAP TiDB nil pointer dereference

June 25, 2024 (updated November 27, 2024)

A nil pointer dereference in PingCAP TiDB v8.2.0-alpha-216-gfe5858b allows attackers to crash the application via expression.inferCollation.

References

  • gist.github.com/ycybfhb/a9c1e14ce281f2f553adca84d384b761
  • github.com/advisories/GHSA-9g6g-xqv5-8g5w
  • github.com/pingcap/tidb
  • github.com/pingcap/tidb/commit/3d68bd21240c610c6307713e2bd54a5e71c32608
  • github.com/pingcap/tidb/issues/53580
  • nvd.nist.gov/vuln/detail/CVE-2024-37820

Code Behaviors & Features

Detect and mitigate CVE-2024-37820 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 8.2.0

Fixed versions

  • 8.2.0

Solution

Upgrade to version 8.2.0 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-476: NULL Pointer Dereference

Source file

go/github.com/pingcap/tidb/CVE-2024-37820.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:24 +0000.