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) CVS Entry Line Heap Overflow Lets Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1010210
SecurityTracker URL:  http://securitytracker.com/id/1010210
CVE Reference:   CVE-2004-0396   (Links to External Site)
Date:  May 19 2004
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 1.11.15 and prior versions (stable); 1.12.7 and prior versions (feature)
Description:   A heap overflow vulnerability was reported in Concurrent Versions System (CVS) in the processing of entry lines. A remote user can execute arbitrary code on the target system.

Stefan Esser of e-matters GmbH reported that the overflow occurs when an entry line is processed to determine if the modified and unchanged flags apply. A remote user can reportedly cause the flawed function to be called several times, inserting certain characters into the entry line and overwriting memory.

The vendor was reportedly notified on May 2, 2004.

The original advisory is available at:

http://security.e-matters.de/advisories/072004.html

Impact:   A remote user can execute arbitrary code on the target system with the privileges of the CVS server.
Solution:   Red Hat has released a fix.

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

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

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

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

Red Hat Linux Advanced Workstation 2.1:

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

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

Red Hat Enterprise Linux ES version 2.1:

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

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

Red Hat Enterprise Linux WS version 2.1:

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

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

Red Hat Enterprise Linux AS version 3:

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

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

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

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

ppc64:
Available from Red Hat Network: cvs-1.11.2-22.ppc64.rpm

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

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

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

Red Hat Desktop version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3desktop/en/os/SRPMS/cvs-1.11.2-22.src.rpm

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

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

Red Hat Enterprise Linux ES version 3:

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

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

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

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

Red Hat Enterprise Linux WS version 3:

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

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

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

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

The verification checksums are:

MD5 sum Package Name

42730e443a871554b4032274a0c11a5f cvs-1.11.1p1-14.i386.rpm
da5d9db42c89af5802ce9d0a3e4d3657 cvs-1.11.1p1-14.ia64.rpm
61642b47066228e70dfdc9566410a87d cvs-1.11.1p1-14.src.rpm
4f0f32b04a4d7c58c000f75b9a9f1fc4 cvs-1.11.2-22.i386.rpm
346b56148d792eebc91ddd55db4dff4c cvs-1.11.2-22.ia64.rpm
a9c3c6b57519abc31b2287ac9f4184ea cvs-1.11.2-22.ppc.rpm
81d21c8917efb67263df78b612fb6c84 cvs-1.11.2-22.ppc64.rpm
de9e328dad4f4529667308cadadbf2bb cvs-1.11.2-22.s390.rpm
c151a4bec7292db136f06563d4f1e2d3 cvs-1.11.2-22.s390x.rpm
adef0f75769bcf11e2de066b0c64b129 cvs-1.11.2-22.src.rpm
f5401bb9eed683f18af0f0747bc09290 cvs-1.11.2-22.x86_64.rpm

Vendor URL:  www.cvshome.org/ (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 19 2004 CVS Entry Line Heap Overflow Lets Remote Users Execute Arbitrary Code



 Source Message Contents

Subject:  [RHSA-2004:190-01] Updated cvs package fixes security issue


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

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

Synopsis:          Updated cvs package fixes security issue
Advisory ID:       RHSA-2004:190-01
Issue date:        2004-05-19
Updated on:        2004-05-19
Product:           Red Hat Enterprise Linux
Keywords:          cvs
Cross references:  
Obsoletes:         RHSA-2004:153
CVE Names:         CAN-2004-0396
- ---------------------------------------------------------------------

1. Topic:

An updated cvs package that fixes a server vulnerability that could be
exploited by a malicious client is 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, ppc64, s390, s390x, x86_64
Red Hat Desktop version 3 - i386, x86_64
Red Hat Enterprise Linux ES version 3 - i386, ia64, x86_64
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.

Stefan Esser discovered a flaw in cvs where malformed "Entry"
lines could cause a heap overflow.  An attacker who has access to a CVS
server could use this flaw to execute arbitrary code under the UID which
the CVS server is executing.  The Common Vulnerabilities and Exposures
project (cve.mitre.org) has assigned the name CAN-2004-0396 to this issue.

Users of CVS are advised to upgrade to this updated package, which contains
a backported patch correcting this issue.

Red Hat would like to thank Stefan Esser for notifying us of this issue and
Derek Price for providing an updated patch.

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.

If up2date fails to connect to Red Hat Network due to SSL
Certificate Errors, you need to install a version of the
up2date client with an updated certificate.  The latest version of
up2date is available from the Red Hat FTP site and may also be
downloaded directly from the RHN website:

https://rhn.redhat.com/help/latest-up2date.pxt

5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):

122384 - CAN-2004-0396 CVS pserver heap overflow via Entry/Is-modified/Unchanged

6. RPMs required:

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

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

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

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

Red Hat Linux Advanced Workstation 2.1:

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

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

Red Hat Enterprise Linux ES version 2.1:

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

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

Red Hat Enterprise Linux WS version 2.1:

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

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

Red Hat Enterprise Linux AS version 3:

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

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

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

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

ppc64:
Available from Red Hat Network: cvs-1.11.2-22.ppc64.rpm

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

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

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

Red Hat Desktop version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3desktop/en/os/SRPMS/cvs-1.11.2-22.src.rpm

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

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

Red Hat Enterprise Linux ES version 3:

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

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

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

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

Red Hat Enterprise Linux WS version 3:

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

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

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

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



7. Verification:

MD5 sum                          Package Name
- --------------------------------------------------------------------------
42730e443a871554b4032274a0c11a5f cvs-1.11.1p1-14.i386.rpm
da5d9db42c89af5802ce9d0a3e4d3657 cvs-1.11.1p1-14.ia64.rpm
61642b47066228e70dfdc9566410a87d cvs-1.11.1p1-14.src.rpm
4f0f32b04a4d7c58c000f75b9a9f1fc4 cvs-1.11.2-22.i386.rpm
346b56148d792eebc91ddd55db4dff4c cvs-1.11.2-22.ia64.rpm
a9c3c6b57519abc31b2287ac9f4184ea cvs-1.11.2-22.ppc.rpm
81d21c8917efb67263df78b612fb6c84 cvs-1.11.2-22.ppc64.rpm
de9e328dad4f4529667308cadadbf2bb cvs-1.11.2-22.s390.rpm
c151a4bec7292db136f06563d4f1e2d3 cvs-1.11.2-22.s390x.rpm
adef0f75769bcf11e2de066b0c64b129 cvs-1.11.2-22.src.rpm
f5401bb9eed683f18af0f0747bc09290 cvs-1.11.2-22.x86_64.rpm


These packages are GPG signed by Red Hat for security.  Our key is
available from https://www.redhat.com/security/team/key.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>


8. References:

http://security.e-matters.de/advisories/072004.html
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0396

9. Contact:

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

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

iD8DBQFAqwMqXlSAg2UNWIIRAluBAJ9bWti4/Uxs2thmLC7s3V6HVWdrPgCgoco8
Hto4ER67Md0kTqqoswNzKh4=
=e9XW
-----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 2021, SecurityGlobal.net LLC