CVE-2022-24407: SQL Injection in Cyrus SASL SQL Plugin
- Vendors
- NetAppOracle CorporationCyrus-IMAPDebian ProjectFedora Project
CVE-2022-24407 is a SQL injection vulnerability in the SQL plugin of Cyrus SASL versions 2.1.17 through 2.1.27. The sql_auxprop_store function passes an improperly escaped password property value as the fifth argument to sql_create_statement when constructing SQL INSERT or UPDATE statements. An authenticated attacker able to change a password can supply crafted SQL syntax in the password value, causing unintended SQL commands to execute. The vulnerability is fixed in Cyrus SASL 2.1.28.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can compromise the confidentiality, integrity, and availability of database resources accessible to the SQL plugin's database account. An attacker may modify other users' passwords, take over their accounts, and escalate privileges. The scope of database access and disruption depends on the permissions granted to the application's database account.
Mitigation
If you can’t patch tonight, do this now.
Until patched, prevent untrusted users from reaching password-change or property-storage operations that write through the affected SQL plugin, or disable that functionality where operationally feasible. Restrict the plugin's database account to the minimum required permissions to limit the consequences of injected statements. These measures do not correct the underlying escaping defect.
Remediation
Patch, then assume compromise.
Upgrade Cyrus SASL to version 2.1.28 or later, or install the distribution's security update containing the backported fix for CVE-2022-24407. Applicable updates include RHSA-2022:0658 for Red Hat Enterprise Linux 8, RHSA-2022:0666 for Red Hat Enterprise Linux 7, and RLSA-2022:0658 for Rocky Linux 8.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2022-24407 exploited in the wild?
- As of Nov 20, 2026, Mallory has no reports of CVE-2022-24407 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2022-24407?
- As of Nov 20, 2026, Mallory has found no public exploit for CVE-2022-24407.
- Is there a patch for CVE-2022-24407?
- Upgrade Cyrus SASL to version 2.1.28 or later, or install the distribution's security update containing the backported fix for CVE-2022-24407. Applicable updates include RHSA-2022:0658 for Red Hat Enterprise Linux 8, RHSA-2022:0666 for Red Hat Enterprise Linux 7, and RLSA-2022:0658 for Rocky Linux 8.
- What products are affected by CVE-2022-24407?
- NetApp Activeiq Unified Manager, Oracle Corporation Communications Cloud Native Core Console, Oracle Corporation Communications Cloud Native Core Network Function Cloud Native Environment, Oracle Corporation Communications Cloud Native Core Security Edge Protection Proxy, Cyrus-IMAP Cyrus-Sasl, and 3 more.
- How severe is CVE-2022-24407?
- CVE-2022-24407 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 2.6% (86th percentile) as of Nov 20, 2026.
Recent activity
15 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.