cve.bz

CVE-2022-24407 SQL Injection

8.8 highEPSS 4.1%Fix available

High (8.8). EPSS 4.1% estimated probability of exploitation activity in the next 30 days.

On this page
In Cyrus SASL 2.1.17 through 2.1.27 before 2.1.28, plugins/sql.c does not escape the password for a SQL INSERT or UPDATE statement.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
4.1% (unchanged from 4.1% a week ago; 4.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-89 Improper Neutralization of Special Elements used in an SQL Command (SQL Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-24407 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-24407?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-24407?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-24407 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2022-24407

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2022-24407](https://cve.bz/cve/badge/CVE-2022-24407.svg)](https://cve.bz/cve/CVE-2022-24407)

HTML:

<a href="https://cve.bz/cve/CVE-2022-24407"><img src="https://cve.bz/cve/badge/CVE-2022-24407.svg" alt="CVE-2022-24407"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
cyrusimap:cyrus-saslfrom 2.1.17 through 2.1.27
debian:debian_linux9.0
debian:debian_linux10.0
debian:debian_linux11.0
fedoraproject:fedora34
fedoraproject:fedora35
fedoraproject:fedora36
oracle:communications_cloud_native_core_console22.2.0
oracle:communications_cloud_native_core_network_function_cloud_native_environment22.2.0
oracle:communications_cloud_native_core_security_edge_protection_proxy22.1.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9cyrus-sasl22.1.27~101-g0780600+dfsg-3+deb9u2DLA-2931-1
Debian10cyrus-sasl22.1.27+dfsg-1+deb10u2DSA-5087-1
Debian11cyrus-sasl22.1.27+dfsg-2.1+deb11u1DSA-5087-1
Debian12, 13, 14cyrus-sasl22.1.28+dfsg-2DEBIAN-CVE-2022-24407
Ubuntu18.04:LTScyrus-sasl22.1.27~101-g0780600+dfsg-3ubuntu2.4UBUNTU-CVE-2022-24407 USN-5301-1
Ubuntu20.04:LTScyrus-sasl22.1.27+dfsg-2ubuntu0.1UBUNTU-CVE-2022-24407 USN-5301-1
Ubuntu22.04:LTScyrus-sasl22.1.27+dfsg2-3ubuntu1UBUNTU-CVE-2022-24407
UbuntuPro:14.04:LTScyrus-sasl22.1.25.dfsg1-17ubuntu0.1~esm2UBUNTU-CVE-2022-24407 USN-5301-2
UbuntuPro:16.04:LTScyrus-sasl22.1.26.dfsg1-14ubuntu0.2+esm1UBUNTU-CVE-2022-24407 USN-5301-2
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationcyrus-sasl, cyrus-sasl-gs2, cyrus-sasl-lib and 9 more0:2.1.26-24.el7_9RHSA-2022:0666
Red Hatenterprise_linux:7::computenodecyrus-sasl, cyrus-sasl-gs2, cyrus-sasl-sql and 5 more0:2.1.26-24.el7_9RHSA-2022:0666
Red Hatenterprise_linux:7::hypervisorredhat-virtualization-host, redhat-virtualization-host-image-update0:4.3.22-20220330.1.el7_9RHSA-2022:1263
Red Hatenterprise_linux:8::appstreamcyrus-sasl-sql, cyrus-sasl-debuginfo, cyrus-sasl-debugsource and 10 more0:2.1.27-6.el8_5RHSA-2022:0658
Red Hatenterprise_linux:8::baseoscyrus-sasl, cyrus-sasl-gs2, cyrus-sasl-lib and 19 more0:2.1.27-6.el8_5RHSA-2022:0658
Red Hatrhel_e4s:8.1::appstreamcyrus-sasl-sql, cyrus-sasl-debuginfo, cyrus-sasl-debugsource and 10 more0:2.1.27-2.el8_1RHSA-2022:0730
Red Hatrhel_e4s:8.1::baseoscyrus-sasl, cyrus-sasl-gs2, cyrus-sasl-lib and 19 more0:2.1.27-2.el8_1RHSA-2022:0730
Red Hatrhel_els:6cyrus-sasl, cyrus-sasl-lib, cyrus-sasl-md5 and 7 more0:2.1.23-16.el6_10RHSA-2022:0780
Red Hatrhel_eus:8.2::appstreamcyrus-sasl-sql, cyrus-sasl-debuginfo, cyrus-sasl-debugsource and 10 more0:2.1.27-2.el8_2RHSA-2022:0731
Red Hatrhel_eus:8.2::baseoscyrus-sasl, cyrus-sasl-gs2, cyrus-sasl-lib and 19 more0:2.1.27-2.el8_2RHSA-2022:0731
Red Hatrhel_eus:8.4::appstreamcyrus-sasl-sql, cyrus-sasl-debuginfo, cyrus-sasl-debugsource and 10 more0:2.1.27-6.el8_4RHSA-2022:0668
Red Hatrhel_eus:8.4::baseoscyrus-sasl, cyrus-sasl-gs2, cyrus-sasl-lib and 19 more0:2.1.27-6.el8_4RHSA-2022:0668
1 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 17 morecyrus-sasl, cyrus-sasl-saslauthd2.1.26-5.10.1SUSE-SU-2022:0702-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 4 morecyrus-sasl2.1.26-8.17.1SUSE-SU-2022:0653-1
SUSELinux Enterprise Micro 5.0cyrus-sasl2.1.26-5.10.1SUSE-SU-2022:0702-1
SUSELinux Enterprise Micro 5.1cyrus-sasl2.1.27-150300.4.6.1SUSE-SU-2022:0743-1
SUSELinux Enterprise Micro 5.2cyrus-sasl2.1.27-150300.4.6.1SUSE-SU-2022:0743-2
SUSELinux Enterprise Module for Basesystem 15 SP3cyrus-sasl, cyrus-sasl-saslauthd2.1.27-150300.4.6.1SUSE-SU-2022:0743-1
SUSELinux Enterprise Module for Legacy 15 SP3cyrus-sasl-bdb, cyrus-sasl-saslauthd-bdb2.1.27-150300.4.6.1SUSE-SU-2022:0743-1
SUSELinux Enterprise Module for Server Applications 15 SP3cyrus-sasl-bdb, cyrus-sasl-saslauthd2.1.27-150300.4.6.1SUSE-SU-2022:0743-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4-LTSScyrus-sasl, cyrus-sasl-saslauthd2.1.22-182.26.7.1SUSE-SU-2022:14894-1
SUSELinux Enterprise Server 11-SECURITYcyrus-sasl-openssl12.1.22-182.26.7.1SUSE-SU-2022:14894-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP4 and 3 morecyrus-sasl, cyrus-sasl-saslauthd2.1.26-14.5.1SUSE-SU-2022:0693-1
SUSELinux Enterprise Software Development Kit 12 SP5, Linux Enterprise Workstation Extension 12 SP5cyrus-sasl2.1.26-14.5.1SUSE-SU-2022:0693-1
openSUSELeap 15.3cyrus-sasl, cyrus-sasl-bdb, cyrus-sasl-saslauthd and 1 more2.1.27-150300.4.6.1openSUSE-SU-2022:0743-1
AlmaLinux8cyrus-sasl, cyrus-sasl-gs2, cyrus-sasl-lib and 8 more2.1.27-6.el8_5ALSA-2022:0658
Rocky Linux8cyrus-sasl0:2.1.27-6.el8_5RLSA-2022:0658
Alpinev3.12, v3.13, v3.14 and 10 morecyrus-sasl2.1.28-r0ALPINE-CVE-2022-24407
Azure Linux2cyrus-sasl2.1.28-1AZL-8794

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6 Extended Lifecycle Supportcyrus-sasl-0:2.1.23-16.el6_10Fixed 2022-03-08RHSA-2022:0780
Red Hat Enterprise Linux 7cyrus-sasl-0:2.1.26-24.el7_9Fixed 2022-02-24RHSA-2022:0666
Red Hat Enterprise Linux 8cyrus-sasl-0:2.1.27-6.el8_5Fixed 2022-02-23RHSA-2022:0658
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionscyrus-sasl-0:2.1.27-2.el8_1Fixed 2022-03-02RHSA-2022:0730
Red Hat Enterprise Linux 8.2 Extended Update Supportcyrus-sasl-0:2.1.27-2.el8_2Fixed 2022-03-02RHSA-2022:0731
Red Hat Enterprise Linux 8.4 Extended Update Supportcyrus-sasl-0:2.1.27-6.el8_4Fixed 2022-02-24RHSA-2022:0668
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7redhat-virtualization-host-0:4.3.22-20220330.1.el7_9Fixed 2022-04-07RHSA-2022:1263
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8redhat-virtualization-host-0:4.4.10-202203101736_8.5Fixed 2022-03-14RHSA-2022:0841
RHINT Camel-K 1.6.4Fixed 2022-03-23RHSA-2022:1029
Red Hat Enterprise Linux 9cyrus-saslNot affected
Red Hat JBoss Enterprise Application Platform 6cyrus-saslOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-24407.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-7 Blind SQL Injection Likelihood: High · Severity: High
  • CAPEC-66 SQL Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
  • CAPEC-109 Object Relational Mapping Injection Likelihood: Low · Severity: High
  • CAPEC-110 SQL Injection through SOAP Parameter Tampering Likelihood: High · Severity: Very High
  • CAPEC-470 Expanding Control over the Operating System from the Database Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON