{"id":"ALPINE-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-03-09T01:23:08.690031Z","published":"2022-02-24T15:15:29.350Z","upstream":["CVE-2022-24407"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2022-24407"}],"affected":[{"package":{"name":"cyrus-sasl","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/cyrus-sasl?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.28-r0"}]}],"versions":["2.1.23-r0","2.1.23-r1","2.1.23-r10","2.1.23-r11","2.1.23-r13","2.1.23-r14","2.1.23-r15","2.1.23-r2","2.1.23-r3","2.1.23-r4","2.1.23-r5","2.1.23-r6","2.1.23-r7","2.1.23-r8","2.1.23-r9","2.1.26-r0","2.1.26-r1","2.1.26-r10","2.1.26-r11","2.1.26-r12","2.1.26-r13","2.1.26-r14","2.1.26-r15","2.1.26-r2","2.1.26-r3","2.1.26-r4","2.1.26-r5","2.1.26-r6","2.1.26-r7","2.1.26-r8","2.1.26-r9","2.1.27-r0","2.1.27-r1","2.1.27-r2","2.1.27-r3","2.1.27-r4","2.1.27-r5","2.1.27-r6"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-24407.json"}},{"package":{"name":"cyrus-sasl","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/cyrus-sasl?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.28-r0"}]}],"versions":["2.1.23-r0","2.1.23-r1","2.1.23-r10","2.1.23-r11","2.1.23-r13","2.1.23-r14","2.1.23-r15","2.1.23-r2","2.1.23-r3","2.1.23-r4","2.1.23-r5","2.1.23-r6","2.1.23-r7","2.1.23-r8","2.1.23-r9","2.1.26-r0","2.1.26-r1","2.1.26-r10","2.1.26-r11","2.1.26-r12","2.1.26-r13","2.1.26-r14","2.1.26-r15","2.1.26-r2","2.1.26-r3","2.1.26-r4","2.1.26-r5","2.1.26-r6","2.1.26-r7","2.1.26-r8","2.1.26-r9","2.1.27-r0","2.1.27-r1","2.1.27-r10","2.1.27-r2","2.1.27-r3","2.1.27-r4","2.1.27-r5","2.1.27-r6","2.1.27-r7","2.1.27-r8","2.1.27-r9"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-24407.json"}},{"package":{"name":"cyrus-sasl","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/cyrus-sasl?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.28-r0"}]}],"versions":["2.1.23-r0","2.1.23-r1","2.1.23-r10","2.1.23-r11","2.1.23-r13","2.1.23-r14","2.1.23-r15","2.1.23-r2","2.1.23-r3","2.1.23-r4","2.1.23-r5","2.1.23-r6","2.1.23-r7","2.1.23-r8","2.1.23-r9","2.1.26-r0","2.1.26-r1","2.1.26-r10","2.1.26-r11","2.1.26-r12","2.1.26-r13","2.1.26-r14","2.1.26-r15","2.1.26-r2","2.1.26-r3","2.1.26-r4","2.1.26-r5","2.1.26-r6","2.1.26-r7","2.1.26-r8","2.1.26-r9","2.1.27-r0","2.1.27-r1","2.1.27-r10","2.1.27-r11","2.1.27-r12","2.1.27-r2","2.1.27-r3","2.1.27-r4","2.1.27-r5","2.1.27-r6","2.1.27-r7","2.1.27-r8","2.1.27-r9"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-24407.json"}},{"package":{"name":"cyrus-sasl","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/cyrus-sasl?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.28-r0"}]}],"versions":["2.1.23-r0","2.1.23-r1","2.1.23-r10","2.1.23-r11","2.1.23-r13","2.1.23-r14","2.1.23-r15","2.1.23-r2","2.1.23-r3","2.1.23-r4","2.1.23-r5","2.1.23-r6","2.1.23-r7","2.1.23-r8","2.1.23-r9","2.1.26-r0","2.1.26-r1","2.1.26-r10","2.1.26-r11","2.1.26-r12","2.1.26-r13","2.1.26-r14","2.1.26-r15","2.1.26-r2","2.1.26-r3","2.1.26-r4","2.1.26-r5","2.1.26-r6","2.1.26-r7","2.1.26-r8","2.1.26-r9","2.1.27-r0","2.1.27-r1","2.1.27-r10","2.1.27-r11","2.1.27-r12","2.1.27-r13","2.1.27-r14","2.1.27-r2","2.1.27-r3","2.1.27-r4","2.1.27-r5","2.1.27-r6","2.1.27-r7","2.1.27-r8","2.1.27-r9"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-24407.json"}},{"package":{"name":"cyrus-sasl","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/cyrus-sasl?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.28-r0"}]}],"versions":["2.1.23-r0","2.1.23-r1","2.1.23-r10","2.1.23-r11","2.1.23-r13","2.1.23-r14","2.1.23-r15","2.1.23-r2","2.1.23-r3","2.1.23-r4","2.1.23-r5","2.1.23-r6","2.1.23-r7","2.1.23-r8","2.1.23-r9","2.1.26-r0","2.1.26-r1","2.1.26-r10","2.1.26-r11","2.1.26-r12","2.1.26-r13","2.1.26-r14","2.1.26-r15","2.1.26-r2","2.1.26-r3","2.1.26-r4","2.1.26-r5","2.1.26-r6","2.1.26-r7","2.1.26-r8","2.1.26-r9","2.1.27-r0","2.1.27-r1","2.1.27-r10","2.1.27-r11","2.1.27-r12","2.1.27-r13","2.1.27-r14","2.1.27-r2","2.1.27-r3","2.1.27-r4","2.1.27-r5","2.1.27-r6","2.1.27-r7","2.1.27-r8","2.1.27-r9"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-24407.json"}},{"package":{"name":"cyrus-sasl","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/cyrus-sasl?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.28-r0"}]}],"versions":["2.1.23-r0","2.1.23-r1","2.1.23-r10","2.1.23-r11","2.1.23-r13","2.1.23-r14","2.1.23-r15","2.1.23-r2","2.1.23-r3","2.1.23-r4","2.1.23-r5","2.1.23-r6","2.1.23-r7","2.1.23-r8","2.1.23-r9","2.1.26-r0","2.1.26-r1","2.1.26-r10","2.1.26-r11","2.1.26-r12","2.1.26-r13","2.1.26-r14","2.1.26-r15","2.1.26-r2","2.1.26-r3","2.1.26-r4","2.1.26-r5","2.1.26-r6","2.1.26-r7","2.1.26-r8","2.1.26-r9","2.1.27-r0","2.1.27-r1","2.1.27-r10","2.1.27-r11","2.1.27-r12","2.1.27-r13","2.1.27-r14","2.1.27-r2","2.1.27-r3","2.1.27-r4","2.1.27-r5","2.1.27-r6","2.1.27-r7","2.1.27-r8","2.1.27-r9"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-24407.json"}},{"package":{"name":"cyrus-sasl","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/cyrus-sasl?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.28-r0"}]}],"versions":["2.1.23-r0","2.1.23-r1","2.1.23-r10","2.1.23-r11","2.1.23-r13","2.1.23-r14","2.1.23-r15","2.1.23-r2","2.1.23-r3","2.1.23-r4","2.1.23-r5","2.1.23-r6","2.1.23-r7","2.1.23-r8","2.1.23-r9","2.1.26-r0","2.1.26-r1","2.1.26-r10","2.1.26-r11","2.1.26-r12","2.1.26-r13","2.1.26-r14","2.1.26-r15","2.1.26-r2","2.1.26-r3","2.1.26-r4","2.1.26-r5","2.1.26-r6","2.1.26-r7","2.1.26-r8","2.1.26-r9","2.1.27-r0","2.1.27-r1","2.1.27-r10","2.1.27-r11","2.1.27-r12","2.1.27-r13","2.1.27-r14","2.1.27-r2","2.1.27-r3","2.1.27-r4","2.1.27-r5","2.1.27-r6","2.1.27-r7","2.1.27-r8","2.1.27-r9"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-24407.json"}},{"package":{"name":"cyrus-sasl","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/cyrus-sasl?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.28-r0"}]}],"versions":["2.1.23-r0","2.1.23-r1","2.1.23-r10","2.1.23-r11","2.1.23-r13","2.1.23-r14","2.1.23-r15","2.1.23-r2","2.1.23-r3","2.1.23-r4","2.1.23-r5","2.1.23-r6","2.1.23-r7","2.1.23-r8","2.1.23-r9","2.1.26-r0","2.1.26-r1","2.1.26-r10","2.1.26-r11","2.1.26-r12","2.1.26-r13","2.1.26-r14","2.1.26-r15","2.1.26-r2","2.1.26-r3","2.1.26-r4","2.1.26-r5","2.1.26-r6","2.1.26-r7","2.1.26-r8","2.1.26-r9","2.1.27-r0","2.1.27-r1","2.1.27-r10","2.1.27-r11","2.1.27-r12","2.1.27-r13","2.1.27-r14","2.1.27-r2","2.1.27-r3","2.1.27-r4","2.1.27-r5","2.1.27-r6","2.1.27-r7","2.1.27-r8","2.1.27-r9"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-24407.json"}},{"package":{"name":"cyrus-sasl","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/cyrus-sasl?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.28-r0"}]}],"versions":["2.1.23-r0","2.1.23-r1","2.1.23-r10","2.1.23-r11","2.1.23-r13","2.1.23-r14","2.1.23-r15","2.1.23-r2","2.1.23-r3","2.1.23-r4","2.1.23-r5","2.1.23-r6","2.1.23-r7","2.1.23-r8","2.1.23-r9","2.1.26-r0","2.1.26-r1","2.1.26-r10","2.1.26-r11","2.1.26-r12","2.1.26-r13","2.1.26-r14","2.1.26-r15","2.1.26-r2","2.1.26-r3","2.1.26-r4","2.1.26-r5","2.1.26-r6","2.1.26-r7","2.1.26-r8","2.1.26-r9","2.1.27-r0","2.1.27-r1","2.1.27-r10","2.1.27-r11","2.1.27-r12","2.1.27-r13","2.1.27-r14","2.1.27-r2","2.1.27-r3","2.1.27-r4","2.1.27-r5","2.1.27-r6","2.1.27-r7","2.1.27-r8","2.1.27-r9"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-24407.json"}},{"package":{"name":"cyrus-sasl","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/cyrus-sasl?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.28-r0"}]}],"versions":["2.1.23-r0","2.1.23-r1","2.1.23-r10","2.1.23-r11","2.1.23-r13","2.1.23-r14","2.1.23-r15","2.1.23-r2","2.1.23-r3","2.1.23-r4","2.1.23-r5","2.1.23-r6","2.1.23-r7","2.1.23-r8","2.1.23-r9","2.1.26-r0","2.1.26-r1","2.1.26-r10","2.1.26-r11","2.1.26-r12","2.1.26-r13","2.1.26-r14","2.1.26-r15","2.1.26-r2","2.1.26-r3","2.1.26-r4","2.1.26-r5","2.1.26-r6","2.1.26-r7","2.1.26-r8","2.1.26-r9","2.1.27-r0","2.1.27-r1","2.1.27-r10","2.1.27-r11","2.1.27-r12","2.1.27-r13","2.1.27-r14","2.1.27-r2","2.1.27-r3","2.1.27-r4","2.1.27-r5","2.1.27-r6","2.1.27-r7","2.1.27-r8","2.1.27-r9"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-24407.json"}},{"package":{"name":"cyrus-sasl","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/cyrus-sasl?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.28-r0"}]}],"versions":["2.1.23-r0","2.1.23-r1","2.1.23-r10","2.1.23-r11","2.1.23-r13","2.1.23-r14","2.1.23-r15","2.1.23-r2","2.1.23-r3","2.1.23-r4","2.1.23-r5","2.1.23-r6","2.1.23-r7","2.1.23-r8","2.1.23-r9","2.1.26-r0","2.1.26-r1","2.1.26-r10","2.1.26-r11","2.1.26-r12","2.1.26-r13","2.1.26-r14","2.1.26-r15","2.1.26-r2","2.1.26-r3","2.1.26-r4","2.1.26-r5","2.1.26-r6","2.1.26-r7","2.1.26-r8","2.1.26-r9","2.1.27-r0","2.1.27-r1","2.1.27-r10","2.1.27-r11","2.1.27-r12","2.1.27-r13","2.1.27-r14","2.1.27-r2","2.1.27-r3","2.1.27-r4","2.1.27-r5","2.1.27-r6","2.1.27-r7","2.1.27-r8","2.1.27-r9"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-24407.json"}},{"package":{"name":"cyrus-sasl","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/cyrus-sasl?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.28-r0"}]}],"versions":["2.1.23-r0","2.1.23-r1","2.1.23-r10","2.1.23-r11","2.1.23-r13","2.1.23-r14","2.1.23-r15","2.1.23-r2","2.1.23-r3","2.1.23-r4","2.1.23-r5","2.1.23-r6","2.1.23-r7","2.1.23-r8","2.1.23-r9","2.1.26-r0","2.1.26-r1","2.1.26-r10","2.1.26-r11","2.1.26-r12","2.1.26-r13","2.1.26-r14","2.1.26-r15","2.1.26-r2","2.1.26-r3","2.1.26-r4","2.1.26-r5","2.1.26-r6","2.1.26-r7","2.1.26-r8","2.1.26-r9","2.1.27-r0","2.1.27-r1","2.1.27-r10","2.1.27-r11","2.1.27-r12","2.1.27-r13","2.1.27-r14","2.1.27-r2","2.1.27-r3","2.1.27-r4","2.1.27-r5","2.1.27-r6","2.1.27-r7","2.1.27-r8","2.1.27-r9"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-24407.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}