CVE-2022-34969
NixOS vulnerability analysis and mitigation

Overview

PingCAP TiDB v6.1.0 was discovered to contain a NULL pointer dereference vulnerability (CVE-2022-34969). The vulnerability was identified and reported on June 12, 2022, affecting the SQL functionality of the TiDB database system (GitHub Issue).

Technical details

The vulnerability manifests when executing specific SQL commands related to user privilege management. When attempting to execute a GRANT ALL PRIVILEGES command with an empty SQL mode setting, the system encounters a NULL pointer dereference, resulting in a runtime error. The issue occurs specifically when running the command sequence: 'SET sql_mode=""; GRANT ALL PRIVILEGES ON . to '???';' (GitHub Issue). The vulnerability has been assigned a CVSS score of 6.5, indicating a moderate severity level with network attack vector and low attack complexity (Oracle Bulletin).

Impact

When exploited, the vulnerability causes the system to crash with a runtime error displaying 'invalid memory address or nil pointer dereference' instead of properly handling the privilege grant operation or returning an appropriate error message (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-65799MEDIUM4.3
  • NixOSNixOS
  • memos
NoYesDec 08, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management