SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   CVS Vendors:   GNU [multiple authors]
(Red Hat Issues Fix for RH Enterprise Linux) Concurrent Versions System (CVS) Off-by-one Buffer Overflow May Let Local Users Execute Arbitrary Code to Gain Elevated Privileges
SecurityTracker Alert ID:  1008724
SecurityTracker URL:  http://securitytracker.com/id/1008724
CVE Reference:   CVE-2002-0844   (Links to External Site)
Updated:  Jan 15 2004
Original Entry Date:  Jan 14 2004
Impact:   Execution of arbitrary code via local system, User access via local system
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 1.11
Description:   A buffer overflow vulnerability has been reported in the Concurrent Versions System (CVS) daemon. A local user may be able to execute arbitrary code with the privileges of the CVS process.

The flaw reportedly resides in the 'cvs-1.11/src/rcs.c' file, where a sscanf() call is made specifying that 16 bytes should be read from the 'info->data' variable into a 15 byte (plus NULL) variable 'devtype[16]'. The 'info->data' variable is apparently based on the contents of a symlinked file on the local system. A local user could create a special value for the contents of this file to trigger the CVS buffer overflow and execute arbitrary code.

Impact:   A local user could cause the CVS server to execute arbitrary code with the privileges of the CVS daemon.
Solution:   Red Hat has released a fix.

Red Hat Enterprise Linux AS (Advanced Server) version 2.1:

SRPMS:
ftp://updates.redhat.com/2.1AS/en/os/SRPMS/cvs-1.11.1p1-9.src.rpm

i386:
Available from Red Hat Network: cvs-1.11.1p1-9.i386.rpm

ia64:
Available from Red Hat Network: cvs-1.11.1p1-9.ia64.rpm

Red Hat Linux Advanced Workstation 2.1:

SRPMS:
ftp://updates.redhat.com/2.1AW/en/os/SRPMS/cvs-1.11.1p1-9.src.rpm

ia64:
Available from Red Hat Network: cvs-1.11.1p1-9.ia64.rpm

Red Hat Enterprise Linux ES version 2.1:

SRPMS:
ftp://updates.redhat.com/2.1ES/en/os/SRPMS/cvs-1.11.1p1-9.src.rpm

i386:
Available from Red Hat Network: cvs-1.11.1p1-9.i386.rpm

Red Hat Enterprise Linux WS version 2.1:

SRPMS:
ftp://updates.redhat.com/2.1WS/en/os/SRPMS/cvs-1.11.1p1-9.src.rpm

i386:
Available from Red Hat Network: cvs-1.11.1p1-9.i386.rpm

Red Hat Enterprise Linux AS version 3:

SRPMS:
ftp://updates.redhat.com/3AS/en/os/SRPMS/cvs-1.11.2-14.src.rpm

i386:
Available from Red Hat Network: cvs-1.11.2-14.i386.rpm

ia64:
Available from Red Hat Network: cvs-1.11.2-14.ia64.rpm

ppc:
Available from Red Hat Network: cvs-1.11.2-14.ppc.rpm

s390:
Available from Red Hat Network: cvs-1.11.2-14.s390.rpm

s390x:
Available from Red Hat Network: cvs-1.11.2-14.s390x.rpm

x86_64:
Available from Red Hat Network: cvs-1.11.2-14.x86_64.rpm

Red Hat Enterprise Linux ES version 3:

SRPMS:
ftp://updates.redhat.com/3ES/en/os/SRPMS/cvs-1.11.2-14.src.rpm

i386:
Available from Red Hat Network: cvs-1.11.2-14.i386.rpm

Red Hat Enterprise Linux WS version 3:

SRPMS:
ftp://updates.redhat.com/3WS/en/os/SRPMS/cvs-1.11.2-14.src.rpm

i386:
Available from Red Hat Network: cvs-1.11.2-14.i386.rpm

ia64:
Available from Red Hat Network: cvs-1.11.2-14.ia64.rpm

x86_64:
Available from Red Hat Network: cvs-1.11.2-14.x86_64.rpm

The verification checksums are:

MD5 sum Package Name
5632c96f575cb1a98e93662404a263f1 2.1AS/en/os/SRPMS/cvs-1.11.1p1-9.src.rpm
49498e2d6b9f1d3bdf03305f66b7f729 2.1AS/en/os/i386/cvs-1.11.1p1-9.i386.rpm
2ae33190ab7f8096f079d970509383da 2.1AS/en/os/ia64/cvs-1.11.1p1-9.ia64.rpm
5632c96f575cb1a98e93662404a263f1 2.1AW/en/os/SRPMS/cvs-1.11.1p1-9.src.rpm
2ae33190ab7f8096f079d970509383da 2.1AW/en/os/ia64/cvs-1.11.1p1-9.ia64.rpm
5632c96f575cb1a98e93662404a263f1 2.1ES/en/os/SRPMS/cvs-1.11.1p1-9.src.rpm
49498e2d6b9f1d3bdf03305f66b7f729 2.1ES/en/os/i386/cvs-1.11.1p1-9.i386.rpm
5632c96f575cb1a98e93662404a263f1 2.1WS/en/os/SRPMS/cvs-1.11.1p1-9.src.rpm
49498e2d6b9f1d3bdf03305f66b7f729 2.1WS/en/os/i386/cvs-1.11.1p1-9.i386.rpm
e6f9dffc299aca147966a3bdb83fd632 3AS/en/os/SRPMS/cvs-1.11.2-14.src.rpm
58da1af69596cb5a380d1fb361b05276 3AS/en/os/i386/cvs-1.11.2-14.i386.rpm
312500472214bbbb5abdd23397e5f276 3AS/en/os/ia64/cvs-1.11.2-14.ia64.rpm
db8f6417a00d2c43af2c1c474d044032 3AS/en/os/ppc/cvs-1.11.2-14.ppc.rpm
ce41041d0d67c2f6f6afdbcb4461151a 3AS/en/os/s390/cvs-1.11.2-14.s390.rpm
7a3fc1e3e6655501931081823e69be90 3AS/en/os/s390x/cvs-1.11.2-14.s390x.rpm
0ae6d5b20b373170a7acad706c07d0c3 3AS/en/os/x86_64/cvs-1.11.2-14.x86_64.rpm
e6f9dffc299aca147966a3bdb83fd632 3ES/en/os/SRPMS/cvs-1.11.2-14.src.rpm
58da1af69596cb5a380d1fb361b05276 3ES/en/os/i386/cvs-1.11.2-14.i386.rpm
e6f9dffc299aca147966a3bdb83fd632 3WS/en/os/SRPMS/cvs-1.11.2-14.src.rpm
58da1af69596cb5a380d1fb361b05276 3WS/en/os/i386/cvs-1.11.2-14.i386.rpm
312500472214bbbb5abdd23397e5f276 3WS/en/os/ia64/cvs-1.11.2-14.ia64.rpm
0ae6d5b20b373170a7acad706c07d0c3 3WS/en/os/x86_64/cvs-1.11.2-14.x86_64.rpm

Vendor URL:  www.gnu.org/software/cvs/cvs.html (Links to External Site)
Cause:   Boundary error
Underlying OS:  Linux (Red Hat Enterprise)
Underlying OS Comments:  2.1, 3

Message History:   This archive entry is a follow-up to the message listed below.
May 25 2002 Concurrent Versions System (CVS) Off-by-one Buffer Overflow May Let Local Users Execute Arbitrary Code to Gain Elevated Privileges



 Source Message Contents

Subject:  [RHSA-2004:004-01] Updated CVS packages fix minor security issue


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- ---------------------------------------------------------------------
                   Red Hat Security Advisory

Synopsis:          Updated CVS packages fix minor security issue
Advisory ID:       RHSA-2004:004-01
Issue date:        2004-01-14
Updated on:        2004-01-14
Product:           Red Hat Enterprise Linux
Keywords:          
Cross references:  
Obsoletes:         
CVE Names:         CAN-2002-0844 CAN-2003-0977
- ---------------------------------------------------------------------

1. Topic:

Updated cvs packages closing a vulnerability that could allow cvs to
attempt to create files and directories in the root file system are now
available.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1 - i386, ia64
Red Hat Linux Advanced Workstation 2.1 - ia64
Red Hat Enterprise Linux ES version 2.1 - i386
Red Hat Enterprise Linux WS version 2.1 - i386
Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Enterprise Linux ES version 3 - i386
Red Hat Enterprise Linux WS version 3 - i386, ia64, x86_64

3. Problem description:

CVS is a version control system frequently used to manage source code
repositories.  

A flaw was found in versions of CVS prior to 1.11.10 where a malformed
module request could cause the CVS server to attempt to create files or
directories at the root level of the file system.  However, normal file
system permissions would prevent the creation of these misplaced
directories.  The Common Vulnerabilities and Exposures project
(cve.mitre.org) has assigned the name CAN-2003-0977 to this issue.

Users of CVS are advised to upgrade to these erratum packages, which
contain a patch correcting this issue.

For Red Hat Enterprise Linux 2.1, these updates also fix an off-by-one
overflow in the CVS PreservePermissions code.  The PreservePermissions 
feature is not used by default (and can only be used for local CVS). The
Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned
the name CAN-2002-0844 to this issue.

4. 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.

5. RPMs required:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1:

SRPMS:
ftp://updates.redhat.com/2.1AS/en/os/SRPMS/cvs-1.11.1p1-9.src.rpm

i386:
Available from Red Hat Network: cvs-1.11.1p1-9.i386.rpm

ia64:
Available from Red Hat Network: cvs-1.11.1p1-9.ia64.rpm

Red Hat Linux Advanced Workstation 2.1:

SRPMS:
ftp://updates.redhat.com/2.1AW/en/os/SRPMS/cvs-1.11.1p1-9.src.rpm

ia64:
Available from Red Hat Network: cvs-1.11.1p1-9.ia64.rpm

Red Hat Enterprise Linux ES version 2.1:

SRPMS:
ftp://updates.redhat.com/2.1ES/en/os/SRPMS/cvs-1.11.1p1-9.src.rpm

i386:
Available from Red Hat Network: cvs-1.11.1p1-9.i386.rpm

Red Hat Enterprise Linux WS version 2.1:

SRPMS:
ftp://updates.redhat.com/2.1WS/en/os/SRPMS/cvs-1.11.1p1-9.src.rpm

i386:
Available from Red Hat Network: cvs-1.11.1p1-9.i386.rpm

Red Hat Enterprise Linux AS version 3:

SRPMS:
ftp://updates.redhat.com/3AS/en/os/SRPMS/cvs-1.11.2-14.src.rpm

i386:
Available from Red Hat Network: cvs-1.11.2-14.i386.rpm

ia64:
Available from Red Hat Network: cvs-1.11.2-14.ia64.rpm

ppc:
Available from Red Hat Network: cvs-1.11.2-14.ppc.rpm

s390:
Available from Red Hat Network: cvs-1.11.2-14.s390.rpm

s390x:
Available from Red Hat Network: cvs-1.11.2-14.s390x.rpm

x86_64:
Available from Red Hat Network: cvs-1.11.2-14.x86_64.rpm

Red Hat Enterprise Linux ES version 3:

SRPMS:
ftp://updates.redhat.com/3ES/en/os/SRPMS/cvs-1.11.2-14.src.rpm

i386:
Available from Red Hat Network: cvs-1.11.2-14.i386.rpm

Red Hat Enterprise Linux WS version 3:

SRPMS:
ftp://updates.redhat.com/3WS/en/os/SRPMS/cvs-1.11.2-14.src.rpm

i386:
Available from Red Hat Network: cvs-1.11.2-14.i386.rpm

ia64:
Available from Red Hat Network: cvs-1.11.2-14.ia64.rpm

x86_64:
Available from Red Hat Network: cvs-1.11.2-14.x86_64.rpm



6. Verification:

MD5 sum                          Package Name
- --------------------------------------------------------------------------

5632c96f575cb1a98e93662404a263f1 2.1AS/en/os/SRPMS/cvs-1.11.1p1-9.src.rpm
49498e2d6b9f1d3bdf03305f66b7f729 2.1AS/en/os/i386/cvs-1.11.1p1-9.i386.rpm
2ae33190ab7f8096f079d970509383da 2.1AS/en/os/ia64/cvs-1.11.1p1-9.ia64.rpm
5632c96f575cb1a98e93662404a263f1 2.1AW/en/os/SRPMS/cvs-1.11.1p1-9.src.rpm
2ae33190ab7f8096f079d970509383da 2.1AW/en/os/ia64/cvs-1.11.1p1-9.ia64.rpm
5632c96f575cb1a98e93662404a263f1 2.1ES/en/os/SRPMS/cvs-1.11.1p1-9.src.rpm
49498e2d6b9f1d3bdf03305f66b7f729 2.1ES/en/os/i386/cvs-1.11.1p1-9.i386.rpm
5632c96f575cb1a98e93662404a263f1 2.1WS/en/os/SRPMS/cvs-1.11.1p1-9.src.rpm
49498e2d6b9f1d3bdf03305f66b7f729 2.1WS/en/os/i386/cvs-1.11.1p1-9.i386.rpm
e6f9dffc299aca147966a3bdb83fd632 3AS/en/os/SRPMS/cvs-1.11.2-14.src.rpm
58da1af69596cb5a380d1fb361b05276 3AS/en/os/i386/cvs-1.11.2-14.i386.rpm
312500472214bbbb5abdd23397e5f276 3AS/en/os/ia64/cvs-1.11.2-14.ia64.rpm
db8f6417a00d2c43af2c1c474d044032 3AS/en/os/ppc/cvs-1.11.2-14.ppc.rpm
ce41041d0d67c2f6f6afdbcb4461151a 3AS/en/os/s390/cvs-1.11.2-14.s390.rpm
7a3fc1e3e6655501931081823e69be90 3AS/en/os/s390x/cvs-1.11.2-14.s390x.rpm
0ae6d5b20b373170a7acad706c07d0c3 3AS/en/os/x86_64/cvs-1.11.2-14.x86_64.rpm
e6f9dffc299aca147966a3bdb83fd632 3ES/en/os/SRPMS/cvs-1.11.2-14.src.rpm
58da1af69596cb5a380d1fb361b05276 3ES/en/os/i386/cvs-1.11.2-14.i386.rpm
e6f9dffc299aca147966a3bdb83fd632 3WS/en/os/SRPMS/cvs-1.11.2-14.src.rpm
58da1af69596cb5a380d1fb361b05276 3WS/en/os/i386/cvs-1.11.2-14.i386.rpm
312500472214bbbb5abdd23397e5f276 3WS/en/os/ia64/cvs-1.11.2-14.ia64.rpm
0ae6d5b20b373170a7acad706c07d0c3 3WS/en/os/x86_64/cvs-1.11.2-14.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key is
available from https://www.redhat.com/security/keys.html

You can verify each package with the following command:
    
    rpm --checksig -v <filename>

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
    
    md5sum <filename>


7. References:

http://ccvs.cvshome.org/servlets/NewsItemView?newsID=84
http://archives.neohapsis.com/archives/vulnwatch/2002-q2/0081.html
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0844
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0977

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://www.redhat.com/solutions/security/news/contact.html

Copyright 2003 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQFABU0DXlSAg2UNWIIRAnP4AJ99tWeZnwwNBj4I0SQHPYiUiNppgwCggxPo
nuBP52ZY4NpbRJhOYyL4zIo=
=szO9
-----END PGP SIGNATURE-----

-- 
Enterprise-watch-list mailing list
Enterprise-watch-list@redhat.com
https://www.redhat.com/mailman/listinfo/enterprise-watch-list

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2020, SecurityGlobal.net LLC