GLSA-200406-06 : CVS: additional DoS and arbitrary code execution vulnerabilities

This script is Copyright (C) 2004-2014 Tenable Network Security, Inc.


Synopsis :

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

Description :

The remote host is affected by the vulnerability described in GLSA-200406-06
(CVS: additional DoS and arbitrary code execution vulnerabilities)

A team audit of the CVS source code performed by Stefan Esser and Sebastian
Krahmer resulted in the discovery of several remotely exploitable
vulnerabilities including:
no-null-termination of 'Entry' lines
error_prog_name 'double-free()'
Argument integer overflow
serve_notify() out of bounds writes

Impact :

An attacker could use these vulnerabilities to cause a Denial of Service or
execute arbitrary code with the permissions of the user running cvs.

Workaround :

There is no known workaround at this time. All users are advised to upgrade
to the latest available version of CVS.

See also :

http://www.nessus.org/u?1215cc0e
http://www.gentoo.org/security/en/glsa/glsa-200406-06.xml

Solution :

All CVS users should upgrade to the latest stable version:
# emerge sync
# emerge -pv '>=dev-util/cvs-1.11.17'
# emerge '>=dev-util/cvs-1.11.17'

Risk factor :

Critical / CVSS Base Score : 10.0
(CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 14517 (gentoo_GLSA-200406-06.nasl)

Bugtraq ID:

CVE ID: CVE-2004-0414
CVE-2004-0416
CVE-2004-0417
CVE-2004-0418