[OpenPKG-SA-2005.001] OpenPKG Security Advisory (perl)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
________________________________________________________________________
OpenPKG Security Advisory The OpenPKG Project
http://www.openpkg.org/security.html http://www.openpkg.org
openpkg-security@xxxxxxxxxxx openpkg@xxxxxxxxxxx
OpenPKG-SA-2005.001 11-Jan-2005
________________________________________________________________________
Package: perl
Vulnerability: information disclosure, insecure permissions
OpenPKG Specific: no
Affected Releases: Affected Packages: Corrected Packages:
OpenPKG CURRENT <= perl-5.8.6-20041129 >= perl-5.8.6-20050111
OpenPKG 2.2 <= perl-5.8.5-2.2.0 >= perl-5.8.5-2.2.1
OpenPKG 2.1 <= perl-5.8.4-2.1.0 >= perl-5.8.4-2.1.1
Dependent Packages: none
Description:
Jeroen van Wolffelaar discovered that the rmtree() function in the
Perl [0] File::Path module removes directory trees in an insecure
manner which could lead to the removal of arbitrary files and
directories through a symlink attack. The Common Vulnerabilities and
Exposures (CVE) project assigned the id CAN-2004-0452 [1] to the
problem.
Trustix developers discovered several insecure uses of temporary files
in many modules which allow a local attacker to overwrite files via a
symlink attack. The Common Vulnerabilities and Exposures (CVE) project
assigned the id CAN-2004-0976 [2] to the problem.
Please check whether you are affected by running "<prefix>/bin/openpkg
rpm -q perl". If you have the "perl" package installed and its version
is affected (see above), we recommend that you immediately upgrade it
(see Solution) [3][4].
Solution:
Select the updated source RPM appropriate for your OpenPKG release
[5][6], fetch it from the OpenPKG FTP service [7][8] or a mirror
location, verify its integrity [9], build a corresponding binary RPM
from it [3] and update your OpenPKG installation by applying the
binary RPM [4]. For the most recent release OpenPKG 2.2, 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.2/UPD
ftp> get perl-5.8.5-2.2.1.src.rpm
ftp> bye
$ <prefix>/bin/openpkg rpm -v --checksig perl-5.8.5-2.2.1.src.rpm
$ <prefix>/bin/openpkg rpm --rebuild perl-5.8.5-2.2.1.src.rpm
$ su -
# <prefix>/bin/openpkg rpm -Fvh <prefix>/RPM/PKG/perl-5.8.5-2.2.1.*.rpm
________________________________________________________________________
References:
[0] http://www.perl.com/
[1] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0452
[2] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0976
[3] http://www.openpkg.org/tutorial.html#regular-source
[4] http://www.openpkg.org/tutorial.html#regular-binary
[5] ftp://ftp.openpkg.org/release/2.2/UPD/perl-5.8.5-2.2.1.src.rpm
[6] ftp://ftp.openpkg.org/release/2.1/UPD/perl-5.8.4-2.1.1.src.rpm
[7] ftp://ftp.openpkg.org/release/2.2/UPD/
[8] ftp://ftp.openpkg.org/release/2.1/UPD/
[9] http://www.openpkg.org/security.html#signature
________________________________________________________________________
For security reasons, this advisory was digitally signed with the
OpenPGP public key "OpenPKG <openpkg@xxxxxxxxxxx>" (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 <openpkg@xxxxxxxxxxx>
iD8DBQFB4+wMgHWT4GPEy58RAmB8AJ9RXjXuF4foXhhDAvR4KRRJ31dUBwCg6pRb
TZQ44p6zfBdfieRvvcf3QLo=
=CkBO
-----END PGP SIGNATURE-----