RHSA-2010:0458: Moderate: perl security update

Published Jun 7, 2010
·
Updated

Perl is a high-level programming language commonly used for systemadministration utilities and web programming. The Safe extension moduleallows 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 calledmethods (such as DESTROY and AUTOLOAD) on implicitly blessed objectsreturned as a result of unsafe code evaluation. These methods could havebeen executed unrestricted by Safe when such objects were accessed ordestroyed. A specially-crafted Perl script executed inside of a Safecompartment could use this flaw to bypass intended Safe modulerestrictions. (CVE-2010-1168)The Safe module did not properly restrict code compiled in a Safecompartment and executed out of the compartment via a subroutine referencereturned as a result of unsafe code evaluation. A specially-crafted Perlscript executed inside of a Safe compartment could use this flaw to bypassintended Safe module restrictions, if the returned subroutine reference wascalled from outside of the compartment. (CVE-2010-1447)Multiple race conditions were found in the way the File::Path module'srmtree function removed directory trees. A malicious, local user with writeaccess to a directory being removed by a victim, running a Perl scriptusing rmtree, could cause the permissions of arbitrary files to be changedto world-writable and setuid, or delete arbitrary files via a symbolic linkattack, if the victim had the privileges to change the permissions of thetarget files or to remove them. (CVE-2008-5302, CVE-2008-5303)Red Hat would like to thank Tim Bunce for responsibly reporting theCVE-2010-1168 and CVE-2010-1447 issues. Upstream acknowledges Nick Cleatonas the original reporter of CVE-2010-1168, and Tim Bunce and RafaelGarcia-Suarez as the original reporters of CVE-2010-1447.These packages upgrade the Safe extension module to version 2.27. Refer tothe Safe module's Changes file, linked to in the References, for a fulllist of changes.Users of perl are advised to upgrade to these updated packages, whichcorrect these issues. All applications using the Safe or File::Path modulesmust be restarted for this update to take effect.

Affected Software

4 affected componentsFixes available
redhat/perl<5.8.8-32.el5_5.1
5.8.8-32.el5_5.1
redhat/perl<5.8.8-32.el5_5.1
5.8.8-32.el5_5.1
redhat/perl-suidperl<5.8.8-32.el5_5.1
5.8.8-32.el5_5.1
redhat/perl-suidperl<5.8.8-32.el5_5.1
5.8.8-32.el5_5.1

Remediation

Event History

Jun 7, 2010
Advisory Published
via Red Hat·12:00 AM

Frequently Asked Questions

1

What is the severity of RHSA-2010:0458?

The severity of RHSA-2010:0458 is important as it addresses vulnerabilities in the Perl programming language.

2

How do I fix RHSA-2010:0458?

To fix RHSA-2010:0458, update to the perl version 5.8.8-32.el5_5.1 or later.

3

What software is affected by RHSA-2010:0458?

RHSA-2010:0458 affects the perl and perl-suidperl packages on Red Hat Enterprise Linux 5.

4

What vulnerabilities does RHSA-2010:0458 address?

RHSA-2010:0458 addresses issues related to the Safe extension module and File::Path module in Perl.

5

Is RHSA-2010:0458 a critical vulnerability?

RHSA-2010:0458 is considered important, but not critical, depending on the specific deployment of Perl.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203