All reports
High

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-24407

Probability of exploitation in the next 30 days: 4.12%

FIRST EPSS · 2026-11-23

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.

A flaw was found in the SQL plugin shipped with Cyrus SASL. The vulnerability occurs due to failure to properly escape SQL input and leads to an improper input validation vulnerability. This flaw allows an attacker to execute arbitrary SQL commands and the ability to change the passwords for other accounts allowing escalation of privileges.