CVEfocus › CVE database › CVE-2022-24407

CVE-2022-24407

EPSS 2.6% (higher than 86% of CVEs)Published 2022-02-23Updated 2026-10-14Assigner: mitre

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.

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

55Fixed
2Fix pending
11Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04cyrus-sasl2Fixed2.1.27+dfsg2-3ubuntu1UBUNTU-CVE-2022-24407
Ubuntu 20.04cyrus-sasl2Fixed2.1.27+dfsg-2ubuntu0.1UBUNTU-CVE-2022-24407
Ubuntu 18.04cyrus-sasl2Fixed2.1.27~101-g0780600+dfsg-3ubuntu2.4UBUNTU-CVE-2022-24407
Ubuntu 16.04cyrus-sasl2Fix pending2.1.26.dfsg1-14ubuntu0.2+esm1 (Ubuntu Pro)UBUNTU-CVE-2022-24407
Ubuntu 14.04cyrus-sasl2Fix pending2.1.25.dfsg1-17ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2022-24407
Debian 14cyrus-sasl2Fixed2.1.28+dfsg-2DEBIAN-CVE-2022-24407
Debian 13cyrus-sasl2Fixed2.1.28+dfsg-2DEBIAN-CVE-2022-24407
Debian 12cyrus-sasl2Fixed2.1.28+dfsg-2DEBIAN-CVE-2022-24407
Red Hat Enterprise Linux 9cyrus-saslNot affected
Red Hat Enterprise Linux 9cyrus-sasl-develNot affected
Red Hat Enterprise Linux 9cyrus-sasl-gs2Not affected
Red Hat Enterprise Linux 9cyrus-sasl-gssapiNot affected
Red Hat Enterprise Linux 9cyrus-sasl-ldapNot affected
Red Hat Enterprise Linux 9cyrus-sasl-libNot affected
Red Hat Enterprise Linux 9cyrus-sasl-md5Not affected
Red Hat Enterprise Linux 9cyrus-sasl-ntlmNot affected
Red Hat Enterprise Linux 9cyrus-sasl-plainNot affected
Red Hat Enterprise Linux 9cyrus-sasl-scramNot affected
Red Hat Enterprise Linux 9cyrus-sasl-sqlNot affected
Red Hat Enterprise Linux 8cyrus-saslFixed0:2.1.27-6.el8_5RHSA-2022:0658
Red Hat Enterprise Linux 8cyrus-sasl-develFixed0:2.1.27-6.el8_5RHSA-2022:0658
Red Hat Enterprise Linux 8cyrus-sasl-gs2Fixed0:2.1.27-6.el8_5RHSA-2022:0658
Red Hat Enterprise Linux 8cyrus-sasl-gssapiFixed0:2.1.27-6.el8_5RHSA-2022:0658
Red Hat Enterprise Linux 8cyrus-sasl-ldapFixed0:2.1.27-6.el8_5RHSA-2022:0658
Red Hat Enterprise Linux 8cyrus-sasl-libFixed0:2.1.27-6.el8_5RHSA-2022:0658
Red Hat Enterprise Linux 8cyrus-sasl-md5Fixed0:2.1.27-6.el8_5RHSA-2022:0658
Red Hat Enterprise Linux 8cyrus-sasl-ntlmFixed0:2.1.27-6.el8_5RHSA-2022:0658
Red Hat Enterprise Linux 8cyrus-sasl-plainFixed0:2.1.27-6.el8_5RHSA-2022:0658
Red Hat Enterprise Linux 8cyrus-sasl-scramFixed0:2.1.27-6.el8_5RHSA-2022:0658
Red Hat Enterprise Linux 8cyrus-sasl-sqlFixed0:2.1.27-6.el8_5RHSA-2022:0658
Red Hat Enterprise Linux 7cyrus-saslFixed0:2.1.26-24.el7_9RHSA-2022:0666
Red Hat Enterprise Linux 7cyrus-sasl-develFixed0:2.1.26-24.el7_9RHSA-2022:0666
Red Hat Enterprise Linux 7cyrus-sasl-gs2Fixed0:2.1.26-24.el7_9RHSA-2022:0666
Red Hat Enterprise Linux 7cyrus-sasl-gssapiFixed0:2.1.26-24.el7_9RHSA-2022:0666
Red Hat Enterprise Linux 7cyrus-sasl-ldapFixed0:2.1.26-24.el7_9RHSA-2022:0666
Red Hat Enterprise Linux 7cyrus-sasl-libFixed0:2.1.26-24.el7_9RHSA-2022:0666
Red Hat Enterprise Linux 7cyrus-sasl-md5Fixed0:2.1.26-24.el7_9RHSA-2022:0666
Red Hat Enterprise Linux 7cyrus-sasl-ntlmFixed0:2.1.26-24.el7_9RHSA-2022:0666
Red Hat Enterprise Linux 7cyrus-sasl-plainFixed0:2.1.26-24.el7_9RHSA-2022:0666
Red Hat Enterprise Linux 7cyrus-sasl-scramFixed0:2.1.26-24.el7_9RHSA-2022:0666
Red Hat Enterprise Linux 7cyrus-sasl-sqlFixed0:2.1.26-24.el7_9RHSA-2022:0666
Red Hat Enterprise Linux 7redhat-virtualization-hostFixed0:4.3.22-20220330.1.el7_9RHSA-2022:1263
Red Hat Enterprise Linux 7redhat-virtualization-host-image-updateFixed0:4.3.22-20220330.1.el7_9RHSA-2022:1263
AlmaLinux 8cyrus-saslFixed2.1.27-6.el8_5ALSA-2022:0658
AlmaLinux 8cyrus-sasl-develFixed2.1.27-6.el8_5ALSA-2022:0658
AlmaLinux 8cyrus-sasl-gs2Fixed2.1.27-6.el8_5ALSA-2022:0658
AlmaLinux 8cyrus-sasl-gssapiFixed2.1.27-6.el8_5ALSA-2022:0658
AlmaLinux 8cyrus-sasl-ldapFixed2.1.27-6.el8_5ALSA-2022:0658
AlmaLinux 8cyrus-sasl-libFixed2.1.27-6.el8_5ALSA-2022:0658
AlmaLinux 8cyrus-sasl-md5Fixed2.1.27-6.el8_5ALSA-2022:0658
AlmaLinux 8cyrus-sasl-ntlmFixed2.1.27-6.el8_5ALSA-2022:0658
AlmaLinux 8cyrus-sasl-plainFixed2.1.27-6.el8_5ALSA-2022:0658
AlmaLinux 8cyrus-sasl-scramFixed2.1.27-6.el8_5ALSA-2022:0658
AlmaLinux 8cyrus-sasl-sqlFixed2.1.27-6.el8_5ALSA-2022:0658
Rocky Linux 8cyrus-saslFixed0:2.1.27-6.el8_5RLSA-2022:0658
Alpine Linux 3.24cyrus-saslFixed2.1.28-r0ALPINE-CVE-2022-24407
Alpine Linux 3.23cyrus-saslFixed2.1.28-r0ALPINE-CVE-2022-24407
Alpine Linux 3.22cyrus-saslFixed2.1.28-r0ALPINE-CVE-2022-24407
Alpine Linux 3.21cyrus-saslFixed2.1.28-r0ALPINE-CVE-2022-24407
Alpine Linux 3.20cyrus-saslFixed2.1.28-r0ALPINE-CVE-2022-24407
Alpine Linux 3.19cyrus-saslFixed2.1.28-r0ALPINE-CVE-2022-24407
Alpine Linux 3.18cyrus-saslFixed2.1.28-r0ALPINE-CVE-2022-24407
Alpine Linux 3.17cyrus-saslFixed2.1.28-r0ALPINE-CVE-2022-24407
Alpine Linux 3.16cyrus-saslFixed2.1.28-r0ALPINE-CVE-2022-24407
Alpine Linux 3.15cyrus-saslFixed2.1.28-r0ALPINE-CVE-2022-24407
Alpine Linux 3.14cyrus-saslFixed2.1.28-r0ALPINE-CVE-2022-24407
Alpine Linux 3.13cyrus-saslFixed2.1.28-r0ALPINE-CVE-2022-24407
Alpine Linux 3.12cyrus-saslFixed2.1.28-r0ALPINE-CVE-2022-24407

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.