CVE-2022-24407
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.
02 Description
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.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 4.12% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 90.4% of scored records. A rank, not a probability.
- NVD base score
- 8.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-10-14.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-02-23 00:00Z4 YR AGO
- Last updated
- 2026-10-14 15:57Z15 DAYS AGO
- Reserved
- 2022-02-04
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-89Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')Base
- Data version
- 5.2
- Document digest
- 22fc9d19d1c54592bcf66e950d0bad55c3aca0e5cb82baa415928393ad862e78
05 Affected products
06 References
- www.cyrusimap.orghttps://www.cyrusimap.org/sasl/sasl/release-notes/2.1/index.html#new-in-2-1-28
- www.openwall.com[oss-security] 20220223 Fwd: Cyrus-SASL 2.1.28 released [fixes CVE-2022-24407 & CVE-2019-19906]http://www.openwall.com/lists/oss-security/2022/02/23/4
- www.debian.orgDSA-5087https://www.debian.org/security/2022/dsa-5087
- lists.debian.org[debian-lts-announce] 20220306 [SECURITY] [DLA 2931-1] cyrus-sasl2 security updatehttps://lists.debian.org/debian-lts-announce/2022/03/msg00002.html
- lists.fedoraproject.orgFEDORA-2022-f9642fab70https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZZC6BMPI3V3MC2IGNLN377ETUWO7QBIH/
- lists.fedoraproject.orgFEDORA-2022-8cc64f73d0https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H26R4SMGM3WHXX4XYNNJB4YGFIL5UNF4/
- lists.fedoraproject.orgFEDORA-2022-e33e824d37https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4FIXU75Q6RBNK6UYM7MQ3TCFGXR7AX4U/
- www.oracle.comhttps://www.oracle.com/security-alerts/cpujul2022.html
- github.comhttps://github.com/cyrusimap/cyrus-sasl/blob/fdcd13ceaef8de684dc69008011fa865c5b4a3ac/docsrc/sasl/release-notes/2.1/index.rst
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20221007-0003/
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-398330.html
07 Fixed in
AlmaLinux 8
- cyrus-sasl Fixed in 2.1.27-6.el8_5
- cyrus-sasl-devel Fixed in 2.1.27-6.el8_5
- cyrus-sasl-gs2 Fixed in 2.1.27-6.el8_5
- cyrus-sasl-gssapi Fixed in 2.1.27-6.el8_5
- cyrus-sasl-ldap Fixed in 2.1.27-6.el8_5
- cyrus-sasl-lib Fixed in 2.1.27-6.el8_5
- cyrus-sasl-md5 Fixed in 2.1.27-6.el8_5
- cyrus-sasl-ntlm Fixed in 2.1.27-6.el8_5
- cyrus-sasl-plain Fixed in 2.1.27-6.el8_5
- cyrus-sasl-scram Fixed in 2.1.27-6.el8_5
- cyrus-sasl-sql Fixed in 2.1.27-6.el8_5
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- cyrus-sasl Fixed in 2.1.27-6.el8_5
- cyrus-sasl-devel Fixed in 2.1.27-6.el8_5
- cyrus-sasl-gs2 Fixed in 2.1.27-6.el8_5
- cyrus-sasl-gssapi Fixed in 2.1.27-6.el8_5
- cyrus-sasl-ldap Fixed in 2.1.27-6.el8_5
- cyrus-sasl-lib Fixed in 2.1.27-6.el8_5
- cyrus-sasl-md5 Fixed in 2.1.27-6.el8_5
- cyrus-sasl-ntlm Fixed in 2.1.27-6.el8_5
- cyrus-sasl-plain Fixed in 2.1.27-6.el8_5
- cyrus-sasl-scram Fixed in 2.1.27-6.el8_5
- cyrus-sasl-sql Fixed in 2.1.27-6.el8_5
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- cyrus-sasl2 Fixed in 2.1.28+dfsg-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- cyrus-sasl2 Fixed in 2.1.28+dfsg-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- cyrus-sasl2 Fixed in 2.1.28+dfsg-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- cyrus-sasl2 Fixed in 2.1.27~101-g0780600+dfsg-3ubuntu2.4
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- cyrus-sasl2 Fixed in 2.1.27+dfsg-2ubuntu0.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- cyrus-sasl2 Fixed in 2.1.27+dfsg2-3ubuntu1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- cyrus-sasl2 Fixed in 2.1.25.dfsg1-17ubuntu0.1~esm2Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- cyrus-sasl2 Fixed in 2.1.26.dfsg1-14ubuntu0.2+esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.