CVE-2022-29155
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-29155 affects OpenLDAP versions 2.x before 2.5.12 and 2.6.x before 2.6.2. The vulnerability is a SQL injection flaw that exists in the experimental back-sql backend to slapd, which can be exploited via a SQL statement within an LDAP query. This vulnerability was discovered by Jacek Konieczny and was disclosed in March 2022 (Debian Security, OpenLDAP Bug).

Technical details

The vulnerability occurs during LDAP search operations when the search filter is processed, due to a lack of proper escaping of SQL statements. The issue specifically affects the experimental back-sql backend component of slapd, allowing malicious SQL statements to be injected through LDAP queries. The vulnerability has been assigned a CVSS v3.1 base score of 9.8 (Critical) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

Successful exploitation of this vulnerability could lead to unauthorized disclosure of sensitive information, addition or modification of database content, or Denial of Service (DoS). An attacker can manipulate the database during LDAP search operations by using specially crafted search filters (NetApp Security).

Mitigation and workarounds

The vulnerability has been fixed in OpenLDAP versions 2.5.12 and 2.6.2 and later. Various distributions have released security updates: Debian 11 (bullseye) fixed in version 2.4.57+dfsg-3+deb11u1, Debian 10 (buster) fixed in version 2.4.47+dfsg-3+deb10u7, and Ubuntu has released fixes for multiple versions (Debian Security, Ubuntu Security).

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-56265HIGH8.8
  • JavaScriptJavaScript
  • n8n
NoYesSep 08, 2025
CVE-2025-32318HIGH8.8
  • NixOSNixOS
  • android
NoNoSep 05, 2025
CVE-2025-32320HIGH7.8
  • NixOSNixOS
  • android
NoNoSep 05, 2025
CVE-2025-32317MEDIUM5.5
  • NixOSNixOS
  • android
NoNoSep 05, 2025
CVE-2025-32316MEDIUM5.5
  • NixOSNixOS
  • android
NoNoSep 05, 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