Debian DSA-5087-1 : cyrus-sasl2 - security update

high Nessus Plugin ID 158509

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 10 / 11 host has packages installed that are affected by a vulnerability as referenced in the dsa-5087 advisory.

- 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. (CVE-2022-24407)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the cyrus-sasl2 packages.

For the stable distribution (bullseye), this problem has been fixed in version 2.1.27+dfsg-2.1+deb11u1.

See Also

https://security-tracker.debian.org/tracker/source-package/cyrus-sasl2

https://www.debian.org/security/2022/dsa-5087

https://security-tracker.debian.org/tracker/CVE-2022-24407

https://packages.debian.org/source/buster/cyrus-sasl2

https://packages.debian.org/source/bullseye/cyrus-sasl2

Plugin Details

Severity: High

ID: 158509

File Name: debian_DSA-5087.nasl

Version: 1.2

Type: local

Agent: unix

Published: 3/2/2022

Updated: 3/2/2022

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 4.8

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P

CVSS Score Source: CVE-2022-24407

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:libsasl2-dev, p-cpe:/a:debian:debian_linux:cyrus-sasl2-doc, p-cpe:/a:debian:debian_linux:libsasl2-modules-otp, cpe:/o:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:libsasl2-2, p-cpe:/a:debian:debian_linux:libsasl2-modules-db, p-cpe:/a:debian:debian_linux:libsasl2-modules-ldap, p-cpe:/a:debian:debian_linux:libsasl2-modules, p-cpe:/a:debian:debian_linux:libsasl2-modules-gssapi-heimdal, p-cpe:/a:debian:debian_linux:libsasl2-modules-gssapi-mit, p-cpe:/a:debian:debian_linux:libsasl2-modules-sql, p-cpe:/a:debian:debian_linux:sasl2-bin

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 2/25/2022

Vulnerability Publication Date: 2/23/2022

Reference Information

CVE: CVE-2022-24407