{"id":"CVE-2022-24407","details":"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.","modified":"2026-08-18T16:28:55.311427Z","published":"2022-02-23T00:00:00Z","related":["ALSA-2022:0658","SUSE-SU-2022:0653-1","SUSE-SU-2022:0693-1","SUSE-SU-2022:0702-1","SUSE-SU-2022:0743-1","SUSE-SU-2022:0743-2","SUSE-SU-2022:14894-1","openSUSE-SU-2022:0743-1","openSUSE-SU-2024:11949-1"],"database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24407.json"},"references":[{"type":"WEB","url":"https://github.com/cyrusimap/cyrus-sasl/blob/fdcd13ceaef8de684dc69008011fa865c5b4a3ac/docsrc/sasl/release-notes/2.1/index.rst"},{"type":"WEB","url":"https://www.cyrusimap.org/sasl/sasl/release-notes/2.1/index.html#new-in-2-1-28"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2022.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24407.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4FIXU75Q6RBNK6UYM7MQ3TCFGXR7AX4U/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H26R4SMGM3WHXX4XYNNJB4YGFIL5UNF4/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZZC6BMPI3V3MC2IGNLN377ETUWO7QBIH/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24407"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20221007-0003/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2022/dsa-5087"},{"type":"ARTICLE","url":"http://www.openwall.com/lists/oss-security/2022/02/23/4"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00002.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cyrusimap/cyrus-sasl","events":[{"introduced":"0"},{"fixed":"0189425cc210555c36383293c468df5da73acc48"},{"fixed":"7a6b45b177070198fed0682bea5fa87c18abb084"}],"database_specific":{"extracted_events":[{"introduced":"2.1.17"},{"fixed":"2.1.27"},{"introduced":"0"},{"fixed":"2.1.28"}],"source":"DESCRIPTION"}}],"versions":["cyrus-sasl-2.1.27","cyrus-sasl-2.1.26","cyrus-sasl-2.1.25","cyrus-sasl-2.1.24","cyrus-sasl-2.1.23"],"database_specific":{"vanir_signatures_modified":"2026-08-18T16:28:55Z","vanir_signatures":[{"digest":{"function_hash":"186791996052852124502521635320733420169","length":1554},"id":"CVE-2022-24407-5c873e4e","signature_type":"Function","signature_version":"v1","source":"https://github.com/cyrusimap/cyrus-sasl/commit/0189425cc210555c36383293c468df5da73acc48","target":{"file":"plugins/ldapdb.c","function":"ldapdb_connect"},"deprecated":false},{"id":"CVE-2022-24407-6810885d","signature_type":"Line","signature_version":"v1","source":"https://github.com/cyrusimap/cyrus-sasl/commit/0189425cc210555c36383293c468df5da73acc48","target":{"file":"plugins/ldapdb.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["144668858640807075656085101226286271128","211578268953532869409335602825794959431","96446337139993211718298955984275164381","167226722289251606297342675712617793056","206595935989217991224862346054111721781","50557079708634351328870234884447350999","184652442851362552426685588654803768615","43876264774750258202720770410034814538"]}},{"source":"https://github.com/cyrusimap/cyrus-sasl/commit/0189425cc210555c36383293c468df5da73acc48","target":{"function":"ldapdb_auxprop_lookup","file":"plugins/ldapdb.c"},"deprecated":false,"digest":{"function_hash":"330803884472733918276636343244308402752","length":2959},"id":"CVE-2022-24407-def92cbb","signature_type":"Function","signature_version":"v1"}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-24407.json"}}],"schema_version":"1.9.0"}