GLSA Advocate
Joined: 12 May 2004 Posts: 2663
|
Posted: Sun Nov 20, 2011 9:26 pm Post subject: [ GLSA 201111-09 ] Perl Safe module: Arbitrary Perl code inj |
|
|
Gentoo Linux Security Advisory
Title: Perl Safe module: Arbitrary Perl code injection (GLSA 201111-09)
Severity: normal
Exploitable: remote
Date: November 20, 2011
Bug(s): #325563
ID: 201111-09
Synopsis
The Safe module for Perl does not properly restrict code, allowing
a remote attacker to execute arbitrary Perl code outside of a restricted
compartment.
Background
Safe is a Perl module to compile and execute code in restricted
compartments.
Affected Packages
Package: perl-core/Safe
Vulnerable: < 2.27
Unaffected: >= 2.27
Architectures: All supported architectures
Package: virtual/perl-Safe
Vulnerable: < 2.27
Unaffected: >= 2.27
Architectures: All supported architectures
Description
Unsafe code evaluation prevents the Safe module from properly
restricting the code of implicitly called methods on implicitly blessed
objects.
Impact
A remote attacker could entice a user to load a specially crafted Perl
script, resulting in execution arbitrary Perl code outside of a
restricted compartment.
Workaround
There is no known workaround at this time.
Resolution
All users of the standalone Perl Safe module should upgrade to the
latest version:
Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=perl-core/Safe-2.27"
| All users of the Safe module bundled with Perl should upgrade to the
latest version:
Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=virtual/perl-Safe-2.27"
| NOTE: This is a legacy GLSA. Updates for all affected architectures are
available since July 18, 2010. It is likely that your system is already
no longer affected by this issue.
References
CVE-2010-1168 |
|