Lucene search

K
osvGoogleOSV:DSA-208
HistoryDec 12, 2002 - 12:00 a.m.

perl - broken safe compartment

2002-12-1200:00:00
Google
osv.dev
11

EPSS

0.001

Percentile

48.6%

A security hole has been discovered in Safe.pm which is used in all
versions of Perl. The Safe extension module allows the creation of
compartments in which perl code can be evaluated in a new namespace
and the code evaluated in the compartment cannot refer to variables
outside this namespace. However, when a Safe compartment has already
been used, there’s no guarantee that it is Safe any longer, because
there’s a way for code to be executed within the Safe compartment to
alter its operation mask. Thus, programs that use a Safe compartment
only once aren’t affected by this bug.

This problem has been fixed in version 5.6.1-8.2 for the current
stable distribution (woody), in version 5.004.05-6.2 and 5.005.03-7.2
for the old stable distribution (potato) and in version 5.8.0-14 for
the unstable distribution (sid).

We recommend that you upgrade your Perl packages.