Skip to content
Fencer Vulns
high 8.8

CVE-2022-24407 json

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.

published 2022-02-23 4 y ago modified 2026-10-14 25 d ago also EUVD-2022-29299

cvss
8.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
4.1%
EPSS 4.1% chance of exploitation in 30 days, percentile 90%
public exploits
0
none known

Summary

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.

Patch / fix

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
  • cyrus-sasl2 Debian 14, Debian 13, Debian 12 2.1.28+dfsg-2

debian advisories DEBIAN-CVE-2022-24407

  • cyrus-sasl2 Ubuntu 18.04 LTS 2.1.27~101-g0780600+dfsg-3ubuntu2.4
  • cyrus-sasl2 Ubuntu 20.04 LTS 2.1.27+dfsg-2ubuntu0.1
  • cyrus-sasl2 Ubuntu 22.04 LTS 2.1.27+dfsg2-3ubuntu1
  • cyrus-sasl2 Ubuntu Pro 14.04 LTS 2.1.25.dfsg1-17ubuntu0.1~esm2
  • cyrus-sasl2 Ubuntu Pro 16.04 LTS 2.1.26.dfsg1-14ubuntu0.2+esm1

ubuntu advisories UBUNTU-CVE-2022-24407

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • redhat-virtualization-host RHEL 7 4.3.22-20220330.1.el7_9
  • redhat-virtualization-host-image-update RHEL 7 4.3.22-20220330.1.el7_9
  • redhat-virtualization-host rhev hypervisor 4.4 4.4.10-202203101736_8.5
  • redhat-virtualization-host-image-update rhev hypervisor 4.4 4.4.10-202203101736_8.5
  • cyrus-sasl RHEL 7 2.1.26-24.el7_9
  • cyrus-sasl-gs2 RHEL 7 2.1.26-24.el7_9
  • cyrus-sasl-lib RHEL 7 2.1.26-24.el7_9
  • cyrus-sasl-md5 RHEL 7 2.1.26-24.el7_9

red hat advisories RHSA-2022:1263RHSA-2022:0841RHSA-2022:0780RHSA-2022:0730RHSA-2022:0731RHSA-2022:0666

  • cyrus-sasl SLE Module for Basesystem 15 SP3, SLE Micro 5.2, SLE Micro 5.1 2.1.27-150300.4.6.1
  • cyrus-sasl-bdb SLE Module for Server Applications 15 SP3, SLE Module for Legacy 15 SP3 2.1.27-150300.4.6.1
  • cyrus-sasl-saslauthd SLE Module for Server Applications 15 SP3, SLE Module for Basesystem 15 SP3 2.1.27-150300.4.6.1
  • cyrus-sasl-saslauthd-bdb SLE Module for Legacy 15 SP3 2.1.27-150300.4.6.1
  • cyrus-sasl SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +18 more 2.1.26-5.10.1
  • cyrus-sasl-saslauthd SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +17 more 2.1.26-5.10.1
  • cyrus-sasl SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +5 more 2.1.26-14.5.1
  • cyrus-sasl-saslauthd SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +3 more 2.1.26-14.5.1

suse advisories SUSE-SU-2022:0743-2SUSE-SU-2022:0743-1SUSE-SU-2022:0702-1SUSE-SU-2022:0693-1SUSE-SU-2022:0653-1SUSE-SU-2022:14894-1

  • cyrus-sasl openSUSE Leap 15.3 2.1.27-150300.4.6.1
  • cyrus-sasl-bdb openSUSE Leap 15.3 2.1.27-150300.4.6.1
  • cyrus-sasl-saslauthd openSUSE Leap 15.3 2.1.27-150300.4.6.1
  • cyrus-sasl-saslauthd-bdb openSUSE Leap 15.3 2.1.27-150300.4.6.1

opensuse advisories openSUSE-SU-2022:0743-1

  • cyrus-sasl AlmaLinux 8 2.1.27-6.el8_5
  • cyrus-sasl-gs2 AlmaLinux 8 2.1.27-6.el8_5
  • cyrus-sasl-lib AlmaLinux 8 2.1.27-6.el8_5
  • cyrus-sasl-md5 AlmaLinux 8 2.1.27-6.el8_5
  • cyrus-sasl-sql AlmaLinux 8 2.1.27-6.el8_5
  • cyrus-sasl-ldap AlmaLinux 8 2.1.27-6.el8_5
  • cyrus-sasl-ntlm AlmaLinux 8 2.1.27-6.el8_5
  • cyrus-sasl-plain AlmaLinux 8 2.1.27-6.el8_5

almalinux advisories ALSA-2022:0658

  • cyrus-sasl Rocky Linux 8 2.1.27-6.el8_5

rocky linux advisories RLSA-2022:0658

  • cyrus-sasl Alpine 3.24, Alpine 3.23, Alpine 3.22 +10 more 2.1.28-r0

alpine advisories ALPINE-CVE-2022-24407

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • cyrus-sasl CBL-Mariner 2.0 2.1.28-1

azure linux advisories AZL-8794

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-24407 updated cvss 8.8

cyrus-sasl: failure to properly escape SQL input allows an attacker to execute arbitrary SQL commands

  • Red Hat JBoss Enterprise Application Platform 6 cyrus-sasl
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux AppStream (v. 8) cyrus-sasl-sql 2.1.27-6.el8_5
    fixed: vendor fix RHSA-2022:0658
  • Red Hat Enterprise Linux AppStream E4S (v. 8.1) cyrus-sasl-sql 2.1.27-2.el8_1
    fixed: vendor fix RHSA-2022:0730
  • Red Hat Enterprise Linux AppStream EUS (v. 8.2) cyrus-sasl-sql 2.1.27-2.el8_2
    fixed: vendor fix RHSA-2022:0731
  • Red Hat Enterprise Linux AppStream EUS (v.8.4) cyrus-sasl-sql 2.1.27-6.el8_4
    fixed: vendor fix RHSA-2022:0668
  • Red Hat Enterprise Linux BaseOS (v. 8) cyrus-sasl 2.1.27-6.el8_5, cyrus-sasl-gs2 2.1.27-6.el8_5, cyrus-sasl-lib 2.1.27-6.el8_5, cyrus-sasl-md5 2.1.27-6.el8_5, cyrus-sasl-ldap 2.1.27-6.el8_5, cyrus-sasl-ntlm 2.1.27-6.el8_5, +3 more
    fixed: vendor fix RHSA-2022:0658
  • Red Hat Enterprise Linux BaseOS E4S (v. 8.1) cyrus-sasl 2.1.27-2.el8_1, cyrus-sasl-gs2 2.1.27-2.el8_1, cyrus-sasl-lib 2.1.27-2.el8_1, cyrus-sasl-md5 2.1.27-2.el8_1, cyrus-sasl-ldap 2.1.27-2.el8_1, cyrus-sasl-ntlm 2.1.27-2.el8_1, +3 more
    fixed: vendor fix RHSA-2022:0730
  • Red Hat Enterprise Linux BaseOS EUS (v. 8.2) cyrus-sasl 2.1.27-2.el8_2, cyrus-sasl-gs2 2.1.27-2.el8_2, cyrus-sasl-lib 2.1.27-2.el8_2, cyrus-sasl-md5 2.1.27-2.el8_2, cyrus-sasl-ldap 2.1.27-2.el8_2, cyrus-sasl-ntlm 2.1.27-2.el8_2, +3 more
    fixed: vendor fix RHSA-2022:0731
show 11 more
  • Red Hat Enterprise Linux BaseOS EUS (v.8.4) cyrus-sasl 2.1.27-6.el8_4, cyrus-sasl-gs2 2.1.27-6.el8_4, cyrus-sasl-lib 2.1.27-6.el8_4, cyrus-sasl-md5 2.1.27-6.el8_4, cyrus-sasl-ldap 2.1.27-6.el8_4, cyrus-sasl-ntlm 2.1.27-6.el8_4, +3 more
    fixed: vendor fix RHSA-2022:0668
  • Red Hat Enterprise Linux Client (v. 7) cyrus-sasl 2.1.26-24.el7_9, cyrus-sasl-lib 2.1.26-24.el7_9, cyrus-sasl-md5 2.1.26-24.el7_9, cyrus-sasl-plain 2.1.26-24.el7_9, cyrus-sasl-scram 2.1.26-24.el7_9, cyrus-sasl-gssapi 2.1.26-24.el7_9 Red Hat Enterprise Linux Client Optional (v. 7) cyrus-sasl 2.1.26-24.el7_9, cyrus-sasl-gs2 2.1.26-24.el7_9, cyrus-sasl-sql 2.1.26-24.el7_9, cyrus-sasl-ldap 2.1.26-24.el7_9, cyrus-sasl-ntlm 2.1.26-24.el7_9 Red Hat Enterprise Linux ComputeNode Optional (v. 7) cyrus-sasl 2.1.26-24.el7_9, cyrus-sasl-gs2 2.1.26-24.el7_9, cyrus-sasl-sql 2.1.26-24.el7_9, cyrus-sasl-ldap 2.1.26-24.el7_9, cyrus-sasl-ntlm 2.1.26-24.el7_9, cyrus-sasl-scram 2.1.26-24.el7_9
    fixed: vendor fix RHSA-2022:0666
  • Red Hat Enterprise Linux Server (v. 6 ELS) cyrus-sasl 2.1.23-16.el6_10, cyrus-sasl-lib 2.1.23-16.el6_10, cyrus-sasl-md5 2.1.23-16.el6_10, cyrus-sasl-plain 2.1.23-16.el6_10, cyrus-sasl-gssapi 2.1.23-16.el6_10
    fixed: vendor fix RHSA-2022:0780
  • Red Hat Enterprise Linux Server (v. 7) cyrus-sasl 2.1.26-24.el7_9, cyrus-sasl-lib 2.1.26-24.el7_9, cyrus-sasl-md5 2.1.26-24.el7_9, cyrus-sasl-plain 2.1.26-24.el7_9, cyrus-sasl-scram 2.1.26-24.el7_9, cyrus-sasl-gssapi 2.1.26-24.el7_9
    fixed: vendor fix RHSA-2022:0666
  • Red Hat Enterprise Linux Server Optional (v. 6 ELS) cyrus-sasl-sql 2.1.23-16.el6_10, cyrus-sasl-ldap 2.1.23-16.el6_10, cyrus-sasl-ntlm 2.1.23-16.el6_10
    fixed: vendor fix RHSA-2022:0780
  • Red Hat Enterprise Linux Server Optional (v. 7) cyrus-sasl-gs2 2.1.26-24.el7_9, cyrus-sasl-sql 2.1.26-24.el7_9, cyrus-sasl-ldap 2.1.26-24.el7_9, cyrus-sasl-ntlm 2.1.26-24.el7_9 Red Hat Enterprise Linux Workstation (v. 7) cyrus-sasl 2.1.26-24.el7_9, cyrus-sasl-lib 2.1.26-24.el7_9, cyrus-sasl-md5 2.1.26-24.el7_9, cyrus-sasl-plain 2.1.26-24.el7_9, cyrus-sasl-scram 2.1.26-24.el7_9, cyrus-sasl-gssapi 2.1.26-24.el7_9 Red Hat Enterprise Linux Workstation Optional (v. 7) cyrus-sasl-gs2 2.1.26-24.el7_9, cyrus-sasl-sql 2.1.26-24.el7_9, cyrus-sasl-ldap 2.1.26-24.el7_9, cyrus-sasl-ntlm 2.1.26-24.el7_9
    fixed: vendor fix RHSA-2022:0666
  • Red Hat Virtualization 4 Hypervisor for RHEL 7 redhat-virtualization-host 4.3.22-20220330.1.el7_9, redhat-virtualization-host-image-update 4.3.22-20220330.1.el7_9
    fixed: vendor fix RHSA-2022:1263
  • Red Hat Virtualization 4 Hypervisor for RHEL 8 redhat-virtualization-host 4.4.10-202203101736_8.5, redhat-virtualization-host-image-update 4.4.10-202203101736_8.5
    fixed: vendor fix RHSA-2022:0841
  • Red Hat RHEL 7-based RHEV-H for RHEV 4 (build requirements) redhat-virtualization-host 4.3.22-20220330.1.el7_9, redhat-virtualization-host-image-update 4.3.22-20220330.1.el7_9
    fixed: vendor fix RHSA-2022:1263
  • Red Hat RHINT Camel-K 1.6.4
    fixed: vendor fix RHSA-2022:1029
  • Red Hat Enterprise Linux 9 cyrus-sasl, cyrus-sasl-gs2, cyrus-sasl-lib, cyrus-sasl-md5, cyrus-sasl-sql, cyrus-sasl-ldap, +4 more Red Hat RHEL 7-based RHEV-H for RHEV 4 (build requirements) redhat-release-virtualization-host 4.3.22-1.el7ev, redhat-virtualization-host-productimg 4.3.22-1.el7, redhat-virtualization-host-image-update-placeholder 4.3.22-1.el7ev Red Hat RHEL 8-based RHEV-H for RHEV 4 (build requirements) redhat-release-virtualization-host 4.4.10-2.el8ev, redhat-release-virtualization-host-content 4.4.10-2.el8ev, redhat-virtualization-host-image-update-placeholder 4.4.10-2.el8ev
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-23-348-10 updated cvss 8.8

Siemens SIMATIC S7-1500

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.0, < 3.1.5
    affected: fixed in V3.1.5, mitigation support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

Exploit prediction

4.12% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P

Affected products

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP

Classification

Weakness
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.