Ubuntu 4.10 : cyrus21-imapd vulnerabilities (USN-31-1)

critical Nessus Plugin ID 20647

Synopsis

The remote Ubuntu host is missing one or more security-related patches.

Description

Stefan Esser discovered several buffer overflows in the Cyrus IMAP server. Due to insufficient checking within the argument parser of the 'partial' and 'fetch' commands, an argument like 'body[p' was detected as 'body.peek'. This could cause a buffer overflow which could be exploited to execute arbitrary attacker-supplied code.

This update also fixes an exploitable buffer overflow that could be triggered in situations when memory allocation fails (i. e. when no free memory is available any more).

Both vulnerabilities can lead to privilege escalation to root.

Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Update the affected packages.

Plugin Details

Severity: Critical

ID: 20647

File Name: ubuntu_USN-31-1.nasl

Version: 1.15

Type: local

Agent: unix

Published: 1/15/2006

Updated: 1/19/2021

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.6

CVSS v2

Risk Factor: Critical

Base Score: 10

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

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:cyrus21-admin, p-cpe:/a:canonical:ubuntu_linux:cyrus21-clients, p-cpe:/a:canonical:ubuntu_linux:cyrus21-common, p-cpe:/a:canonical:ubuntu_linux:cyrus21-dev, p-cpe:/a:canonical:ubuntu_linux:cyrus21-doc, p-cpe:/a:canonical:ubuntu_linux:cyrus21-imapd, p-cpe:/a:canonical:ubuntu_linux:cyrus21-murder, p-cpe:/a:canonical:ubuntu_linux:cyrus21-pop3d, p-cpe:/a:canonical:ubuntu_linux:libcyrus-imap-perl21, cpe:/o:canonical:ubuntu_linux:4.10

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

Patch Publication Date: 11/23/2004

Reference Information

CVE: CVE-2004-1012, CVE-2004-1013

USN: 31-1