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).

Exploitability

The vulnerability requires network access and can be triggered through SQL commands, specifically when manipulating user privileges. The attack complexity is rated as low, though it requires specific conditions including an empty SQL mode setting (Oracle Bulletin).

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-2026-75874CRITICAL10
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74990CRITICAL9.8
  • NixOS logoNixOS
  • firefox-esr
NoYesAug 18, 2026
CVE-2026-74989CRITICAL9.8
  • NixOS logoNixOS
  • MozillaFirefox-translations-common
NoYesAug 18, 2026
CVE-2026-74988CRITICAL9.8
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74987CRITICAL9.8
  • NixOS logoNixOS
  • firefox-esr
NoYesAug 18, 2026

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