GLSA-200405-12 : CVS heap overflow vulnerability

High Nessus Plugin ID 14498


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


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.


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'

See Also

Plugin Details

Severity: High

ID: 14498

File Name: gentoo_GLSA-200405-12.nasl

Version: $Revision: 1.15 $

Type: local

Published: 2004/08/30

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 7.5

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:cvs, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2004/05/20

Vulnerability Publication Date: 2004/05/19

Exploitable With


Reference Information

CVE: CVE-2004-0396

OSVDB: 6305

GLSA: 200405-12