---
id: CVE-2022-24407
title: >-
  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.
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.
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-89
vendor: cyrusimap
product: cyrus-sasl
affected:
  - 'cyrus-sasl >= 2.1.17, <= 2.1.27'
  - debian_linux = 9.0
  - debian_linux = 10.0
  - debian_linux = 11.0
  - fedora = 34
  - fedora = 35
  - fedora = 36
  - active_iq_unified_manager
  - ontap_select_deploy_administration_utility
  - communications_cloud_native_core_console = 22.2.0
  - >-
    communications_cloud_native_core_network_function_cloud_native_environment =
    22.2.0
  - communications_cloud_native_core_security_edge_protection_proxy = 22.1.1
published: '2022-02-24'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T16:17:27.843'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-24407'
references:
  - url: 'http://www.openwall.com/lists/oss-security/2022/02/23/4'
    label: cve@mitre.org
  - url: >-
      https://github.com/cyrusimap/cyrus-sasl/blob/fdcd13ceaef8de684dc69008011fa865c5b4a3ac/docsrc/sasl/release-notes/2.1/index.rst
    label: cve@mitre.org
  - url: 'https://lists.debian.org/debian-lts-announce/2022/03/msg00002.html'
    label: cve@mitre.org
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4FIXU75Q6RBNK6UYM7MQ3TCFGXR7AX4U/
    label: cve@mitre.org
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H26R4SMGM3WHXX4XYNNJB4YGFIL5UNF4/
    label: cve@mitre.org
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZZC6BMPI3V3MC2IGNLN377ETUWO7QBIH/
    label: cve@mitre.org
  - url: 'https://security.netapp.com/advisory/ntap-20221007-0003/'
    label: cve@mitre.org
  - url: >-
      https://www.cyrusimap.org/sasl/sasl/release-notes/2.1/index.html#new-in-2-1-28
    label: cve@mitre.org
  - url: 'https://www.debian.org/security/2022/dsa-5087'
    label: cve@mitre.org
  - url: 'https://www.oracle.com/security-alerts/cpujul2022.html'
    label: cve@mitre.org
  - url: 'http://www.openwall.com/lists/oss-security/2022/02/23/4'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://github.com/cyrusimap/cyrus-sasl/blob/fdcd13ceaef8de684dc69008011fa865c5b4a3ac/docsrc/sasl/release-notes/2.1/index.rst
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2022/03/msg00002.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4FIXU75Q6RBNK6UYM7MQ3TCFGXR7AX4U/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H26R4SMGM3WHXX4XYNNJB4YGFIL5UNF4/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZZC6BMPI3V3MC2IGNLN377ETUWO7QBIH/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20221007-0003/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://www.cyrusimap.org/sasl/sasl/release-notes/2.1/index.html#new-in-2-1-28
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.debian.org/security/2022/dsa-5087'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.oracle.com/security-alerts/cpujul2022.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.04123
epssPercentile: 0.90749
ingestedAt: '2026-10-14T16:40:32.046Z'
---

## Overview

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.

## Affected

- `cyrus-sasl >= 2.1.17, <= 2.1.27`
- `debian_linux = 9.0`
- `debian_linux = 10.0`
- `debian_linux = 11.0`
- `fedora = 34`
- `fedora = 35`
- `fedora = 36`
- `active_iq_unified_manager`
- `ontap_select_deploy_administration_utility`
- `communications_cloud_native_core_console = 22.2.0`
- `communications_cloud_native_core_network_function_cloud_native_environment = 22.2.0`
- `communications_cloud_native_core_security_edge_protection_proxy = 22.1.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
