CVE-2022-24407: 
NixOS vulnerability analysis and mitigation

Overview

A SQL injection vulnerability was discovered in Cyrus SASL versions 2.1.17 through 2.1.27 before 2.1.28. The vulnerability exists in the SQL plugin (plugins/sql.c) which fails to properly escape the password for SQL INSERT or UPDATE statements (CVE Mitre, NVD). The vulnerability was disclosed in February 2022 and affects the Simple Authentication and Security Layer (SASL) implementation.

Technical details

The vulnerability occurs in the SQL plugin component (plugins/sql.c) of Cyrus SASL where passwords are not properly escaped during SQL INSERT or UPDATE operations. This improper input validation vulnerability has been assigned a CVSS v3.1 base score of 8.8 (HIGH) with the vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NetApp Advisory).

Impact

Successful exploitation of this vulnerability could allow an authenticated remote attacker to execute arbitrary SQL commands leading to disclosure of sensitive information, addition or modification of data, or privilege escalation (Debian Security, NetApp Advisory).

Exploitability

The vulnerability requires network access and low complexity to exploit, with low privileges required and no user interaction needed. Public discussion of this vulnerability has been acknowledged, though no specific details about active exploitation in the wild have been reported (NetApp Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Cyrus SASL version 2.1.28. Various vendors have released patches for their affected products: Debian has fixed it in version 2.1.27+dfsg-1+deb10u2 for buster and version 2.1.27+dfsg-2.1+deb11u1 for bullseye, Fedora has released updates for versions 34, 35, and 36, and Ubuntu has provided fixes for multiple releases (Debian Security, Cyrus Release Notes).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Alpine

Fixed

edge

cyrus-sasl: 2.1.28-r0

Fixed

v3.18

cyrus-sasl: 2.1.28-r0

Fixed

v3.19

cyrus-sasl: 2.1.28-r0

Fixed

v3.20

cyrus-sasl: 2.1.28-r0

Fixed

v3.21

cyrus-sasl: 2.1.28-r0

Fixed

v3.22

cyrus-sasl: 2.1.28-r0

Fixed

v3.23

cyrus-sasl: 2.1.28-r0

Fixed

Source: This report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-123634CRITICAL9.2
  • NGINX logoNGINX
  • nginx:1.24::nginx
NoYesNov 18, 2026
CVE-2026-123633CRITICAL9.2
  • NGINX logoNGINX
  • nginx-mod-js-challenge
NoYesNov 18, 2026
CVE-2026-123007CRITICAL9.2
  • NGINX logoNGINX
  • nginx-mod-mail
NoYesNov 18, 2026
CVE-2026-125283MEDIUM6.9
  • NGINX logoNGINX
  • nginx-debugsource
NoYesNov 18, 2026
CVE-2026-123640MEDIUM6.9
  • NGINX logoNGINX
  • nginx-mod-vts-debuginfo
NoYesNov 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

Additional Wiz resources

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