FreeBSD : cyrus-imapd -- multiple-minute daemon hang via input that is mishandled during hash-table interaction (3d915d96-0b1f-11ec-8d9f-080027415d17)

high Nessus Plugin ID 153073

Language:

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

Cyrus IMAP 3.4.2 Release Notes states :

Fixed CVE-2021-33582: Certain user inputs are used as hash table keys during processing. A poorly chosen string hashing algorithm meant that the user could control which bucket their data was stored in, allowing a malicious user to direct many inputs to a single bucket. Each subsequent insertion to the same bucket requires a strcmp of every other entry in it. At tens of thousands of entries, each new insertion could keep the CPU busy in a strcmp loop for minutes. The string hashing algorithm has been replaced with a better one, and now also uses a random seed per hash table, so malicious inputs cannot be precomputed.

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?c8abf348

Plugin Details

Severity: High

ID: 153073

File Name: freebsd_pkg_3d915d960b1f11ec8d9f080027415d17.nasl

Version: 1.4

Type: local

Published: 9/7/2021

Updated: 12/1/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2021-33582

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:cyrus-imapd23, p-cpe:/a:freebsd:freebsd:cyrus-imapd24, p-cpe:/a:freebsd:freebsd:cyrus-imapd25, p-cpe:/a:freebsd:freebsd:cyrus-imapd30, p-cpe:/a:freebsd:freebsd:cyrus-imapd32, p-cpe:/a:freebsd:freebsd:cyrus-imapd34, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Ease: No known exploits are available

Patch Publication Date: 9/1/2021

Vulnerability Publication Date: 5/26/2021

Reference Information

CVE: CVE-2021-33582