Vulnerability Note VU#650937
Concurrent Versions System (CVS) server improperly deallocates memory
Overview
A "double-free" vulnerability in the Concurrent Versions System (CVS) server could allow a remote attacker to execute arbitrary code or commands or cause a denial of service on a vulnerable system.
Description
CVS is a source code maintenance system that is widely used by open-source software development projects. The CVS server component contains a "double-free" vulnerability that can be triggered by a set of specially crafted directory change requests. While processing these requests, an error checking routine may attempt to free() the same memory reference more than once. Deallocating the already freed memory can lead to heap corruption, which may be leveraged by an attacker to execute arbitrary code. The CVS server process is commonly started by the Internet services daemon (inetd) and run with root privileges. |
Impact
Depending on configuration, operating system, and platform architecture, a remote attacker with anonymous read-only access to a vulnerable CVS server could execute arbitrary code, read sensitive information, or cause a denial of service. There is a significant secondary impact in that source code maintained in CVS repositories could be modified to include trojan horses, backdoors, or other malicious code. |
Solution
|
Disable CVS Server
|
Systems Affected (Learn More)
| Vendor | Status | Date Notified | Date Updated |
|---|---|---|---|
| Apple Computer Inc. | Affected | 20 Jan 2003 | 20 Aug 2003 |
| Conectiva | Affected | 20 Jan 2003 | 21 Jan 2003 |
| Cray Inc. | Affected | 20 Jan 2003 | 21 Jan 2003 |
| CVS Home | Affected | - | 22 Jan 2003 |
| CVSNT | Affected | - | 14 Feb 2003 |
| Debian | Affected | 20 Jan 2003 | 22 Jan 2003 |
| FreeBSD | Affected | 20 Jan 2003 | 04 Feb 2003 |
| Gentoo Linux | Affected | - | 03 Feb 2003 |
| IBM | Affected | 20 Jan 2003 | 22 Jan 2003 |
| MandrakeSoft | Affected | 20 Jan 2003 | 21 Jan 2003 |
| NetBSD | Affected | 20 Jan 2003 | 04 Feb 2003 |
| OpenBSD | Affected | 20 Jan 2003 | 04 Apr 2003 |
| OpenPKG | Affected | - | 03 Feb 2003 |
| Red Hat Inc. | Affected | 20 Jan 2003 | 03 Feb 2003 |
| Slackware | Affected | - | 03 Feb 2003 |
CVSS Metrics (Learn More)
| Group | Score | Vector |
|---|---|---|
| Base | N/A | N/A |
| Temporal | N/A | N/A |
| Environmental | N/A | N/A |
References
- http://security.e-matters.de/advisories/012003.html
- http://ccvs.cvshome.org/servlets/NewsItemView?newsID=51
- http://www.cvshome.org/docs/manual/cvs_1.html
- http://www.netsys.com/library/papers/chrooted-ssh-cvs-server.txt
- http://openbsd.sunsite.ualberta.ca/papers/anoncvs-paper.ps
Credit
This vulnerability was publicly reported by Stefan Esser of e-matters.
This document was written by Art Manion.
Other Information
- CVE IDs: CAN-2003-0015
- CERT Advisory: CA-2003-02
- Date Public: 20 Jan 2003
- Date First Published: 21 Jan 2003
- Date Last Updated: 20 Aug 2003
- Severity Metric: 40.10
- Document Revision: 33
Feedback
If you have feedback, comments, or additional information about this vulnerability, please send us email.