Moderate: perl security update
| Advisory: | RHSA-2010:0458-2 |
|---|---|
| Type: | Security Advisory |
| Severity: | Moderate |
| Issued on: | 2010-06-07 |
| Last updated on: | 2010-06-07 |
| Affected Products: | Red Hat Enterprise Linux (v. 5 server) Red Hat Enterprise Linux Desktop (v. 5 client) |
| CVEs (cve.mitre.org): |
CVE-2008-5302 CVE-2008-5303 CVE-2010-1168 CVE-2010-1447 |
Details
Updated perl packages that fix multiple security issues are now available
for Red Hat Enterprise Linux 5.
The Red Hat Security Response Team has rated this update as having moderate
security impact. Common Vulnerability Scoring System (CVSS) base scores,
which give detailed severity ratings, are available for each vulnerability
from the CVE links in the References section.
Perl is a high-level programming language commonly used for system
administration utilities and web programming. The Safe extension module
allows users to compile and execute Perl code in restricted compartments.
The File::Path module allows users to create and remove directory trees.
The Safe module did not properly restrict the code of implicitly called
methods (such as DESTROY and AUTOLOAD) on implicitly blessed objects
returned as a result of unsafe code evaluation. These methods could have
been executed unrestricted by Safe when such objects were accessed or
destroyed. A specially-crafted Perl script executed inside of a Safe
compartment could use this flaw to bypass intended Safe module
restrictions. (CVE-2010-1168)
The Safe module did not properly restrict code compiled in a Safe
compartment and executed out of the compartment via a subroutine reference
returned as a result of unsafe code evaluation. A specially-crafted Perl
script executed inside of a Safe compartment could use this flaw to bypass
intended Safe module restrictions, if the returned subroutine reference was
called from outside of the compartment. (CVE-2010-1447)
Multiple race conditions were found in the way the File::Path module's
rmtree function removed directory trees. A malicious, local user with write
access to a directory being removed by a victim, running a Perl script
using rmtree, could cause the permissions of arbitrary files to be changed
to world-writable and setuid, or delete arbitrary files via a symbolic link
attack, if the victim had the privileges to change the permissions of the
target files or to remove them. (CVE-2008-5302, CVE-2008-5303)
Red Hat would like to thank Tim Bunce for responsibly reporting the
CVE-2010-1168 and CVE-2010-1447 issues. Upstream acknowledges Nick Cleaton
as the original reporter of CVE-2010-1168, and Tim Bunce and Rafaël
Garcia-Suarez as the original reporters of CVE-2010-1447.
These packages upgrade the Safe extension module to version 2.27. Refer to
the Safe module's Changes file, linked to in the References, for a full
list of changes.
Users of perl are advised to upgrade to these updated packages, which
correct these issues. All applications using the Safe or File::Path modules
must be restarted for this update to take effect.
Solution
relevant to your system have been applied.
This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/docs/DOC-11259
Updated packages
| Red Hat Enterprise Linux (v. 5 server) | |
| SRPMS: | |
| perl-5.8.8-32.el5_5.1.src.rpm File outdated by: RHSA-2013:0685 |
MD5: 176159ec8d3754757298182dc2e11c3e SHA-256: f41fc8685e2ed5ec135616f27d00a4aa3de1c9ba7fcba22fdb75d120af67731d |
| IA-32: | |
| perl-5.8.8-32.el5_5.1.i386.rpm File outdated by: RHSA-2013:0685 |
MD5: edc8e30a6315a8a756395cae32bf6007 SHA-256: 83fc67f09115d985ebe6e221126954a9bc5446cbb46285ad7188b722ca339836 |
| perl-suidperl-5.8.8-32.el5_5.1.i386.rpm File outdated by: RHSA-2013:0685 |
MD5: 3c332a4e32538f79c4c2893616005229 SHA-256: 63a89fbcd34e830621ca5c71aab196560daa9cde3d0b35e68448c02b4061a451 |
| IA-64: | |
| perl-5.8.8-32.el5_5.1.ia64.rpm File outdated by: RHSA-2013:0685 |
MD5: 9589c02b593609fa6fa564e044bdb7d5 SHA-256: 777408d31670d6a93380ca29633a23432b26a6f04f26fe38879cda93658c826b |
| perl-suidperl-5.8.8-32.el5_5.1.ia64.rpm File outdated by: RHSA-2013:0685 |
MD5: 171aa3bc7f96a44d0afd443e65562514 SHA-256: 7a9653e2111579e8ed81903f7578c23cf4d0ce6730067d78e8e9cb7556ee0589 |
| PPC: | |
| perl-5.8.8-32.el5_5.1.ppc.rpm File outdated by: RHSA-2013:0685 |
MD5: 0ff2fee6d7401289388336e83239839b SHA-256: baa313c4ac48bdd768f436cb2092179ab45eacaa6b8346230107684f8032cea1 |
| perl-suidperl-5.8.8-32.el5_5.1.ppc.rpm File outdated by: RHSA-2013:0685 |
MD5: 2d066a6fdce5ddb2309e970d738bedd9 SHA-256: ef8a58aeed73443f39d29086619bfffa8d9a4b9ad3a6a5e58a4ec2973a29782a |
| s390x: | |
| perl-5.8.8-32.el5_5.1.s390x.rpm File outdated by: RHSA-2013:0685 |
MD5: ca72a8c9c87fbd9870c06e6c35b54859 SHA-256: 5e0bf507e4d06b39e64862d3c8d576da61b17c3b24650222c4c536ac852b84e3 |
| perl-suidperl-5.8.8-32.el5_5.1.s390x.rpm File outdated by: RHSA-2013:0685 |
MD5: b0a8e8b90564c1dfd4b90ae98bd4e917 SHA-256: df0c7a61699ec0d28c508ba7d8b43be6acd8c43a5e7dba823b93185da53634f0 |
| x86_64: | |
| perl-5.8.8-32.el5_5.1.x86_64.rpm File outdated by: RHSA-2013:0685 |
MD5: 719fb0308c3513e7e58505edee2f3c3a SHA-256: 9fa2a32b6d525c12396770f6ea2c3c489a790b86cebee39139655c30a63e2e36 |
| perl-suidperl-5.8.8-32.el5_5.1.x86_64.rpm File outdated by: RHSA-2013:0685 |
MD5: 90aae7868263632b797521c1d5b93a17 SHA-256: b574c01e23f1ea382c7b0690387f8c91a874863a566b1e5022c9df002e9b7f03 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | |
| SRPMS: | |
| perl-5.8.8-32.el5_5.1.src.rpm File outdated by: RHSA-2013:0685 |
MD5: 176159ec8d3754757298182dc2e11c3e SHA-256: f41fc8685e2ed5ec135616f27d00a4aa3de1c9ba7fcba22fdb75d120af67731d |
| IA-32: | |
| perl-5.8.8-32.el5_5.1.i386.rpm File outdated by: RHSA-2013:0685 |
MD5: edc8e30a6315a8a756395cae32bf6007 SHA-256: 83fc67f09115d985ebe6e221126954a9bc5446cbb46285ad7188b722ca339836 |
| perl-suidperl-5.8.8-32.el5_5.1.i386.rpm File outdated by: RHSA-2013:0685 |
MD5: 3c332a4e32538f79c4c2893616005229 SHA-256: 63a89fbcd34e830621ca5c71aab196560daa9cde3d0b35e68448c02b4061a451 |
| x86_64: | |
| perl-5.8.8-32.el5_5.1.i386.rpm File outdated by: RHSA-2013:0685 |
MD5: edc8e30a6315a8a756395cae32bf6007 SHA-256: 83fc67f09115d985ebe6e221126954a9bc5446cbb46285ad7188b722ca339836 |
| perl-5.8.8-32.el5_5.1.x86_64.rpm File outdated by: RHSA-2013:0685 |
MD5: 719fb0308c3513e7e58505edee2f3c3a SHA-256: 9fa2a32b6d525c12396770f6ea2c3c489a790b86cebee39139655c30a63e2e36 |
| perl-suidperl-5.8.8-32.el5_5.1.x86_64.rpm File outdated by: RHSA-2013:0685 |
MD5: 90aae7868263632b797521c1d5b93a17 SHA-256: b574c01e23f1ea382c7b0690387f8c91a874863a566b1e5022c9df002e9b7f03 |
| (The unlinked packages above are only available from the Red Hat Network) | |
Bugs fixed (see bugzilla for more information)
473450 - CVE-2008-5302 perl: File::Path rmtree race condition (CVE-2005-0448) reintroduced after upstream rebase to 5.8.8-1
474217 - CVE-2008-5303 symlink perl: File::Path rmtree race condition (CVE-2004-0452) reintroduced after upstream rebase to 5.8.8-1
576508 - CVE-2010-1168 perl Safe: Intended restriction bypass via object references
588269 - CVE-2010-1447 perl: Safe restriction bypass when reference to subroutine in compartment is called from outside
References
https://www.redhat.com/security/data/cve/CVE-2008-5303.html
https://www.redhat.com/security/data/cve/CVE-2010-1168.html
https://www.redhat.com/security/data/cve/CVE-2010-1447.html
http://www.redhat.com/security/updates/classification/#moderate
http://cpansearch.perl.org/src/RGARCIA/Safe-2.27/Changes
These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package
The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/