GLSA-200405-12 : CVS heap overflow vulnerability

high Nessus Plugin ID 14498

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.

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'

See Also

http://archive.cert.uni-stuttgart.de/bugtraq/2004/05/msg00219.html

https://security.gentoo.org/glsa/200405-12

Plugin Details

Severity: High

ID: 14498

File Name: gentoo_GLSA-200405-12.nasl

Version: 1.18

Type: local

Published: 8/30/2004

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.3

CVSS v2

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: 5/20/2004

Vulnerability Publication Date: 5/19/2004

Exploitable With

CANVAS (CANVAS)

Reference Information

CVE: CVE-2004-0396

GLSA: 200405-12