- Issued:
- 2004-04-14
- Updated:
- 2004-04-17
RHSA-2004:153 - Security Advisory
Synopsis
cvs security update
Type/Severity
Security Advisory: Moderate
Topic
Updated cvs packages that fix a client vulnerability that could be
exploited by a malicious server are now available.
[Updated Apr 19 2004]
The description text has been updated to include CAN-2004-0405 which was
also fixed but not mentioned when this advisory was first released. There
has been no change to the packages associated with this advisory.
Description
CVS is a version control system frequently used to manage source code
repositories.
Sebastian Krahmer discovered a flaw in CVS clients where rcs diff files can
create files with absolute pathnames. An attacker could create a fake
malicious CVS server that would cause arbitrary files to be created or
overwritten when a victim connects to it. The Common Vulnerabilities and
Exposures project (cve.mitre.org) has assigned the name CAN-2004-0180 to
this issue.
Derek Price discovered a vulnerability whereby a CVS pserver could be
abused by a malicious client to view the contents of certain files outside
of the CVS root directory using relative pathnames containing "../". The
Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned
the name CAN-2004-0405 to this issue.
Users of CVS are advised to upgrade to these erratum packages, which
contain a patch correcting this issue.
Solution
Before applying this update, make sure all previously released errata
relevant to your system have been applied.
To update all RPMs for your particular architecture, run:
rpm -Fvh [filenames]
where [filenames] is a list of the RPMs you wish to upgrade. Only those
RPMs which are currently installed will be updated. Those RPMs which are
not installed but included in the list will not be updated. Note that you
can also use wildcards (*.rpm) if your current directory *only* contains the
desired RPMs.
Please note that this update is also available via Red Hat Network. Many
people find this an easier way to apply updates. To use Red Hat Network,
launch the Red Hat Update Agent with the following command:
up2date
This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.
Affected Products
- Red Hat Enterprise Linux Server 3 x86_64
- Red Hat Enterprise Linux Server 3 ia64
- Red Hat Enterprise Linux Server 3 i386
- Red Hat Enterprise Linux Server 2 ia64
- Red Hat Enterprise Linux Server 2 i386
- Red Hat Enterprise Linux Workstation 3 x86_64
- Red Hat Enterprise Linux Workstation 3 ia64
- Red Hat Enterprise Linux Workstation 3 i386
- Red Hat Enterprise Linux Workstation 2 ia64
- Red Hat Enterprise Linux Workstation 2 i386
- Red Hat Enterprise Linux for IBM z Systems 3 s390x
- Red Hat Enterprise Linux for IBM z Systems 3 s390
- Red Hat Enterprise Linux for Power, big endian 3 ppc
Fixes
- BZ - 118719 - CAN-2004-0180 Malicious CVS server
References
(none)
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.