GLSA-200405-12 : CVS heap overflow vulnerability

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-200405-12
(CVS heap overflow vulnerability)

Stefan Esser discovered a heap overflow in the CVS server, which can be
triggered by sending malicious 'Entry' lines and manipulating the flags
related to that Entry. This vulnerability was proven to be exploitable.

Impact :

A remote attacker can execute arbitrary code on the CVS server, with the
rights of the CVS server. By default, Gentoo uses the 'cvs' user to run the
CVS server. In particular, this flaw allows a complete compromise of CVS
source repositories. If you're not running a server, then you are not
vulnerable.

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://archive.cert.uni-stuttgart.de/bugtraq/2004/05/msg00219.html
http://www.gentoo.org/security/en/glsa/glsa-200405-12.xml

Solution :

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

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)
Public Exploit Available : true

Family: Gentoo Local Security Checks

Nessus Plugin ID: 14498 (gentoo_GLSA-200405-12.nasl)

Bugtraq ID:

CVE ID: CVE-2004-0396