Wiz Agents & Workflows are here

CVE-2022-31011
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-31011 is an authentication bypass vulnerability discovered in TiDB version 5.3.0. The vulnerability was disclosed on May 26, 2022, affecting the authentication process of TiDB database system. Under certain conditions, attackers could construct malicious authentication requests to bypass the authentication process (GitHub Advisory).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 8.4 (High severity) with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. This indicates a local attack vector, low attack complexity, no privileges required, no user interaction needed, and high impact on confidentiality, integrity, and availability (GitHub Advisory).

Impact

If successfully exploited, the vulnerability can lead to privilege escalation or unauthorized access to the database system. The high CVSS score reflects the severe potential impact on system security, affecting confidentiality, integrity, and availability of the database (GitHub Advisory).

Mitigation and workarounds

Two mitigation options are available: 1) Turn off SEM (Security Enhanced Mode), or 2) Disable local login for non-root accounts and ensure that the same IP cannot be logged in as root or normal user simultaneously. The recommended solution is to upgrade to TiDB version 5.3.1 or higher, which contains the patch for this vulnerability (GitHub Advisory).

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-30892HIGH7.8
  • NixOSNixOS
  • crun
NoYesMar 26, 2026
CVE-2026-33223MEDIUM5.4
  • NixOSNixOS
  • nats-fips
NoYesMar 25, 2026
CVE-2026-33222MEDIUM4.9
  • NixOSNixOS
  • nats-fips
NoYesMar 25, 2026
CVE-2026-33249MEDIUM4.3
  • NixOSNixOS
  • k3s-1.32
NoYesMar 25, 2026
CVE-2026-33248MEDIUM4.2
  • NixOSNixOS
  • github.com/nats-io/nats-server/v2
NoYesMar 25, 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