-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ________________________________________________________________________ OpenPKG Security Advisory The OpenPKG Project http://www.openpkg.org/security.html http://www.openpkg.org email@example.com firstname.lastname@example.org OpenPKG-SA-2004.022 19-May-2004 ________________________________________________________________________ Package: cvs Vulnerability: remote code execution OpenPKG Specific: no Affected Releases: Affected Packages: Corrected Packages: OpenPKG CURRENT <= cvs-1.12.7-20040414 >= cvs-1.12.8-20040519 OpenPKG 2.0 <= cvs-1.12.5-2.0.1 >= cvs-1.12.5-2.0.2 OpenPKG 1.3 <= cvs-1.12.1-1.3.4 >= cvs-1.12.1-1.3.5 Dependent Packages: none Description: Stefan Esser discovered  a remote vulnerability in Concurrent Versions System (CVS)  servers. CVS up to version 1.12.7 contains a flaw when deciding if a CVS entry line should get a modified or unchanged flag attached. This results in a heap overflow which can be exploited to execute arbitrary code on the CVS server. This could allow a repository compromise. The Common Vulnerabilities and Exposures (CVE) project assigned the id CAN-2004-0396  to the problem. Please check whether you are affected by running "
/bin/rpm -q cvs". If you have the "cvs" package installed and its version is affected (see above), we recommend that you immediately upgrade it (see Solution).  Solution: Select the updated source RPM appropriate for your OpenPKG release , fetch it from the OpenPKG FTP service  or a mirror location, verify its integrity , build a corresponding binary RPM from it  and update your OpenPKG installation by applying the binary RPM . For the most recent release OpenPKG 2.0, perform the following operations to permanently fix the security problem (for other releases adjust accordingly). $ ftp ftp.openpkg.org ftp> bin ftp> cd release/2.0/UPD ftp> get cvs-1.12.5-2.0.2.src.rpm ftp> bye $ /bin/openpkg rpm -v --checksig cvs-1.12.5-2.0.2.src.rpm $ /bin/openpkg rpm --rebuild cvs-1.12.5-2.0.2.src.rpm $ su - # /bin/openpkg rpm -Fvh /RPM/PKG/cvs-1.12.5-2.0.2.*.rpm ________________________________________________________________________ References:  http://www.cvshome.org/  http://security.e-matters.de/advisories/072004.html  http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0396  http://www.openpkg.org/tutorial.html#regular-source  http://www.openpkg.org/tutorial.html#regular-binary  ftp://ftp.openpkg.org/release/1.3/UPD/cvs-1.12.1-1.3.5.src.rpm  ftp://ftp.openpkg.org/release/2.0/UPD/cvs-1.12.5-2.0.2.src.rpm  ftp://ftp.openpkg.org/release/1.3/UPD/  ftp://ftp.openpkg.org/release/2.0/UPD/  http://www.openpkg.org/security.html#signature ________________________________________________________________________ For security reasons, this advisory was digitally signed with the OpenPGP public key "OpenPKG "(ID 63C4CB9F) of the OpenPKG project which you can retrieve from http://pgp.openpkg.org and hkp://pgp.openpkg.org. Follow the instructions on http://pgp.openpkg.org/ for details on how to verify the integrity of this advisory. ________________________________________________________________________ -----BEGIN PGP SIGNATURE----- Comment: OpenPKG iD8DBQFAq7pegHWT4GPEy58RAmOdAJ9oEXtVcEjwX81JNeQwKmxEQ1yWwgCfQ52r 9a3G06r8K+fX+2o0t6D32Gc= =ZobV -----END PGP SIGNATURE-----