portage-ng / portage / dev-lang / perl / 5.42.2
portage-ng glsa
16 advisories reference dev-lang/perl · none place version 5.42.2 in a vulnerable range
▸ GLSA 202411-09 Perl: Multiple Vulnerabilities this version unaffected normal remote 2024-11-17

Multiple vulnerabilities have been discovered in Perl, the worst of which can lead to arbitrary code execution.

Announced
2024-11-17
Revised
2024-11-17
Access
remote
Bugs
#807307 #905296 #918612
Advisory
https://security.gentoo.org/glsa/202411-09

Affected packages

PackageArchVulnerableUnaffected
dev-lang/perl*< 5.38.2>= 5.38.2

Background

Perl is Larry Wall’s Practical Extraction and Report Language.

Description

Multiple vulnerabilities have been discovered in Perl. Please review the CVE identifiers referenced below for details.

Impact

Please review the referenced CVE identifiers for details.

Workaround

There is no known workaround at this time.

Resolution

All Perl users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/perl-5.38.2"

References

▸ GLSA 202006-03 Perl: Multiple vulnerabilities this version unaffected normal local, remote 2020-06-12

Multiple vulnerabilities have been found in Perl, the worst of which could result in a Denial of Service condition.

Announced
2020-06-12
Revised
2020-06-12
Access
local, remote
Bugs
#723792
Advisory
https://security.gentoo.org/glsa/202006-03

Affected packages

PackageArchVulnerableUnaffected
dev-lang/perl*< 5.30.3>= 5.30.3

Background

Perl is a highly capable, feature-rich programming language.

Description

Multiple vulnerabilities have been discovered in Perl. Please review the CVE identifiers referenced below for details.

Impact

Please review the referenced CVE identifiers for details.

Workaround

There is no known workaround at this time.

Resolution

All Perl users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/perl-5.30.3"

References

▸ GLSA 201909-01 Perl: Multiple vulnerabilities this version unaffected normal remote 2019-09-06

Multiple vulnerabilities have been found in Perl, the worst of which could result in the arbitrary execution of code.

Announced
2019-09-06
Revised
2019-09-06
Access
remote
Bugs
#653432 #670190
Advisory
https://security.gentoo.org/glsa/201909-01

Affected packages

PackageArchVulnerableUnaffected
dev-lang/perl*< 5.28.2>= 5.28.2

Background

Perl is a highly capable, feature-rich programming language.

Description

Multiple vulnerabilities have been discovered in Perl. Please review the CVE identifiers referenced below for details.

Impact

Please review the referenced CVE identifiers for details.

Workaround

There is no known workaround at this time.

Resolution

All Perl users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/perl-5.28.2"

References

▸ GLSA 201709-12 Perl: Race condition vulnerability this version unaffected normal local 2017-09-17

A vulnerability in module File::Path for Perl allows local attackers to set arbitrary mode values on arbitrary files bypassing security restrictions.

Announced
2017-09-17
Revised
2017-09-17
Access
local
Bugs
#620304
Advisory
https://security.gentoo.org/glsa/201709-12

Affected packages

PackageArchVulnerableUnaffected
dev-lang/perl*< 5.24.1-r2>= 5.24.1-r2
perl-core/File-Path*< 2.130.0>= 2.130.0
virtual/perl-File-Path*< 2.130.0>= 2.130.0

Background

File::Path module provides a convenient way to create directories of arbitrary depth and to delete an entire directory subtree from the filesystem.

Description

A race condition occurs within concurrent environments. This condition was discovered by The cPanel Security Team in the rmtree and remove_tree functions in the File-Path module before 2.13 for Perl. This is due to the time-of-check-to-time-of-use (TOCTOU) race condition between the stat() that decides the inode is a directory and the chmod() that tries to make it user-rwx.

Impact

A local attacker could exploit this condition to set arbitrary mode values on arbitrary files and hence bypass security restrictions.

Workaround

There is no known workaround at this time.

Resolution

All Perl users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/perl-5.24.1-r2"

All File-Path users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=perl-core/File-Path-2.130.0"

All Perl-File-Path users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=virtual/perl-File-Path-2.130.0"

References

▸ GLSA 201701-75 Perl: Multiple vulnerabilities this version unaffected normal local, remote 2017-01-29

Multiple vulnerabilities have been found in Perl, the worst of which could allow remote attackers to execute arbitrary code.

Announced
2017-01-29
Revised
2017-06-01 (revision 2)
Access
local, remote
Bugs
#580612 #588592 #589680 #606750 #606752
Advisory
https://security.gentoo.org/glsa/201701-75

Affected packages

PackageArchVulnerableUnaffected
dev-lang/perl*< 5.22.3_rc4>= 5.22.3_rc4

Background

Perl is a highly capable, feature-rich programming language.

Description

Multiple vulnerabilities have been discovered in Perl. Please review the CVE identifiers referenced below for details.

Impact

A remote attacker could possibly execute arbitrary code with the privileges of the process, cause a Denial of Service condition, or escalate privileges.

Workaround

There is no known workaround at this time.

Resolution

All Perl users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/perl-5.22.3_rc4"

Warning: When you are upgrading to a new major Perl version, the commands above may not be sufficient. Please visit the Gentoo wiki referenced below to learn how to upgrade to a new major Perl version.

References

▸ GLSA 201507-11 Perl: Denial of service this version unaffected normal remote 2015-07-10

A vulnerability in Perl allows a remote attacker to cause Denial of Service.

Announced
2015-07-10
Revised
2015-07-10
Access
remote
Bugs
#216671
Advisory
https://security.gentoo.org/glsa/201507-11

Affected packages

PackageArchVulnerableUnaffected
dev-lang/perl*< 5.20.1-r4>= 5.20.1-r4

Background

Perl is a highly capable, feature-rich programming language.

Description

S_regmatch() function lacks proper checks before passing arguments to atoi()

Impact

A remote attacker could send a specially crafted input, possibly resulting in a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All Perl users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/perl-5.20.1-r4"

References

▸ GLSA 201410-02 Perl, Perl Locale-Maketext module: Multiple vulnerabilities this version unaffected normal remote 2014-10-12

Multiple vulnerabilities have been found in the Perl Locale-Maketext module, allowing remote attackers to inject and execute arbitrary Perl code.

Announced
2014-10-12
Revised
2014-12-29 (revision 2)
Access
remote
Bugs
#446376
Advisory
https://security.gentoo.org/glsa/201410-02

Affected packages

PackageArchVulnerableUnaffected
dev-lang/perl*< 5.17.7>= 5.17.7
perl-core/Locale-Maketext*< 1.230.0>= 1.230.0

Background

Locale-Maketext - Perl framework for localization

Description

Two vulnerabilities have been reported in the Locale-Maketext module for Perl, which can be exploited by malicious users to compromise an application using the module.

The vulnerabilities are caused due to the “_compile()” function not properly sanitising input, which can be exploited to inject and execute arbitrary Perl code.

Impact

A remote attacker could possibly execute arbitrary code with the privileges of the process, or cause a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All users of the Locale-Maketext module should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose
">=perl-core/Locale-Maketext-1.230.0"

References

▸ GLSA 201401-11 Perl, Locale Maketext Perl module: Multiple vulnerabilities this version unaffected normal local, remote 2014-01-19

Multiple vulnerabilities have been found in Perl and Locale::Maketext Perl module, the worst of which could allow a context-dependent attacker to execute arbitrary code.

Announced
2014-01-19
Revised
2014-01-19
Access
local, remote
Bugs
#384887 #448632 #460444 #483448
Advisory
https://security.gentoo.org/glsa/201401-11

Affected packages

PackageArchVulnerableUnaffected
dev-lang/perl*< 5.16.3>= 5.16.3
perl-core/locale-maketext*< 1.230.0>= 1.230.0

Background

Perl is Larry Wall’s Practical Extraction and Report Language. Locale::Maketext is a Perl module - framework for localization.

Description

Multiple vulnerabilities have been discovered in Perl and Locale::Maketext Perl module. Please review the CVE identifiers referenced below for details.

Impact

A context-dependent attacker could possibly execute arbitrary code with the privileges of the process or cause a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All Perl users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/perl-5.16.3"

All Locale::Maketext users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose
">=perl-core/locale-maketext-1.230.0"

References

▸ GLSA 201311-17 Perl: Multiple vulnerabilities this version unaffected high local, remote 2013-11-28

Multiple vulnerabilities were found in Perl, the worst of which could allow a local attacker to cause a Denial of Service condition.

Announced
2013-11-28
Revised
2013-11-28
Access
local, remote
Bugs
#249629 #313565 #362025 #386357
Advisory
https://security.gentoo.org/glsa/201311-17

Affected packages

PackageArchVulnerableUnaffected
dev-lang/perl*< 5.12.3-r1>= 5.12.3-r1

Background

Perl is Larry Wall’s Practical Extraction and Report Language.

Description

Multiple vulnerabilities have been discovered in Perl. Please review the CVE identifiers referenced below for details.

Impact

A local attacker could cause a Denial of Service condition or perform symlink attacks to overwrite arbitrary files with the privileges of the user running the application. A context-dependent attacker could cause a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All Perl users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/perl-5.12.3-r1"

References

▸ GLSA 200805-17 Perl: Execution of arbitrary code this version unaffected normal remote 2008-05-20

A double free vulnerability was discovered in Perl, possibly resulting in the execution of arbitrary code and a Denial of Service.

Announced
2008-05-20
Revised
2008-05-20
Access
remote
Bugs
#219203
Advisory
https://security.gentoo.org/glsa/200805-17

Affected packages

PackageArchVulnerableUnaffected
dev-lang/perl*< 5.8.8-r5>= 5.8.8-r5
sys-devel/libperl*< 5.8.8-r2>= 5.8.8-r2

Background

Perl is a stable, cross platform programming language.

Description

Tavis Ormandy and Will Drewry of the Google Security Team have reported a double free vulnerability when processing a crafted regular expression containing UTF-8 characters.

Impact

A remote attacker could possibly exploit this vulnerability to execute arbitrary code or cause a Denial of Service.

Workaround

There is no known workaround at this time.

Resolution

All Perl users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/perl-5.8.8-r5"

All libperl users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-devel/libperl-5.8.8-r2"

References

▸ GLSA 200711-28 Perl: Buffer overflow this version unaffected normal remote 2007-11-19

A buffer overflow in the Regular Expression engine in Perl possibly allows for the execution of arbitrary code.

Announced
2007-11-19
Revised
2007-11-19
Access
remote
Bugs
#198196
Advisory
https://security.gentoo.org/glsa/200711-28

Affected packages

PackageArchVulnerableUnaffected
dev-lang/perl*< 5.8.8-r4>= 5.8.8-r4

Background

Perl is a stable, cross-platform programming language created by Larry Wall.

Description

Tavis Ormandy and Will Drewry (Google Security Team) discovered a heap-based buffer overflow in the Regular Expression engine (regcomp.c) that occurs when switching from byte to Unicode (UTF-8) characters in a regular expression.

Impact

A remote attacker could either entice a user to compile a specially crafted regular expression or actively compile it in case the script accepts remote input of regular expressions, possibly leading to the execution of arbitrary code with the privileges of the user running Perl.

Workaround

There is no known workaround at this time.

Resolution

All Perl users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/perl-5.8.8-r4"

References

▸ GLSA 200512-01 Perl: Format string errors can lead to code execution this version unaffected high remote and local 2005-12-07

A fix is available for Perl to mitigate the effects of format string programming errors, that could otherwise be exploited to execute arbitrary code.

Announced
2005-12-07
Revised
2005-12-07
Access
remote and local
Bugs
#114113
Advisory
https://security.gentoo.org/glsa/200512-01

Affected packages

PackageArchVulnerableUnaffected
dev-lang/perl*< 5.8.7-r3>= 5.8.7-r3, >= 5.8.6-r8 (revision)

Background

Perl is a stable, cross-platform programming language created by Larry Wall. It contains printf functions that allows construction of strings from format specifiers and parameters, like the C printf functions. A well-known class of vulnerabilities, called format string errors, result of the improper use of the printf functions in C. Perl in itself is vulnerable to a limited form of format string errors through its own sprintf function, especially through wrapper functions that call sprintf (for example the syslog function) and by taking advantage of Perl powerful string expansion features rather than using format string specifiers.

Description

Jack Louis discovered a new way to exploit format string errors in Perl that could lead to the execution of arbitrary code. This is perfomed by causing an integer wrap overflow in the efix variable inside the function Perl_sv_vcatpvfn. The proposed fix closes that specific exploitation vector to mitigate the risk of format string programming errors in Perl. This fix does not remove the need to fix such errors in Perl code.

Impact

Perl applications making improper use of printf functions (or derived functions) using untrusted data may be vulnerable to the already-known forms of Perl format string exploits and also to the execution of arbitrary code.

Workaround

Fix all misbehaving Perl applications so that they make proper use of the printf and derived Perl functions.

Resolution

All Perl users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose dev-lang/perl

References

▸ GLSA 200510-14 Perl, Qt-UnixODBC, CMake: RUNPATH issues this version unaffected low local 2005-10-17

Multiple packages suffer from RUNPATH issues that may allow users in the "portage" group to escalate privileges.

Announced
2005-10-17
Revised
2006-05-22 (revision 3)
Access
local
Bugs
#105719 #105721 #106678
Advisory
https://security.gentoo.org/glsa/200510-14

Affected packages

PackageArchVulnerableUnaffected
dev-db/qt-unixODBC*< 3.3.4-r1>= 3.3.4-r1
dev-lang/perl*< 5.8.7-r1>= 5.8.7-r1, >= 5.8.6-r6 (revision)
dev-util/cmake*< 2.2.0-r1>= 2.2.0-r1, >= 2.0.6-r1 (revision)

Background

Perl is a stable, cross-platform programming language created by Larry Wall. Qt-UnixODBC is an ODBC library for Qt. CMake is a cross-platform build environment.

Description

Some packages may introduce insecure paths into the list of directories that are searched for libraries at runtime. Furthermore, packages depending on the MakeMaker Perl module for build configuration may have incorrectly copied the LD_RUN_PATH into the DT_RPATH.

Impact

A local attacker, who is a member of the "portage" group, could create a malicious shared object in the Portage temporary build directory that would be loaded at runtime by a dependent executable, potentially resulting in privilege escalation.

Workaround

Only grant "portage" group rights to trusted users.

Resolution

All Perl users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose dev-lang/perl

All Qt-UnixODBC users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/qt-unixODBC-3.3.4-r1"

All CMake users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose dev-util/cmake

References

▸ GLSA 200502-13 Perl: Vulnerabilities in perl-suid wrapper this version unaffected high local 2005-02-11

Vulnerabilities leading to file overwriting and code execution with elevated privileges have been discovered in the perl-suid wrapper.

Announced
2005-02-11
Revised
2005-02-11
Access
local
Bugs
#80460
Advisory
https://security.gentoo.org/glsa/200502-13

Affected packages

PackageArchVulnerableUnaffected
dev-lang/perl*< 5.8.6-r3>= 5.8.6-r3, >= 5.8.5-r4 (revision), >= 5.8.4-r3 (revision), >= 5.8.2-r3 (revision)

Background

Perl is a stable, cross-platform programming language created by Larry Wall. The perl-suid wrapper allows the use of setuid perl scripts, i.e. user-callable Perl scripts which have elevated privileges. This function is enabled only if you have the perlsuid USE flag set.

Description

perl-suid scripts honor the PERLIO_DEBUG environment variable and write to that file with elevated privileges (CAN-2005-0155). Furthermore, calling a perl-suid script with a very long path while PERLIO_DEBUG is set could trigger a buffer overflow (CAN-2005-0156).

Impact

A local attacker could set the PERLIO_DEBUG environment variable and call existing perl-suid scripts, resulting in file overwriting and potentially the execution of arbitrary code with root privileges.

Workaround

You are not vulnerable if you do not have the perlsuid USE flag set or do not use perl-suid scripts.

Resolution

All Perl users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose dev-lang/perl

References

▸ GLSA 200501-38 Perl: rmtree and DBI tmpfile vulnerabilities this version unaffected normal local 2005-01-26

The Perl DBI library and File::Path::rmtree function are vulnerable to symlink attacks.

Announced
2005-01-26
Revised
2005-03-15 (revision 3)
Access
local
Bugs
#75696 #78634 #79685
Advisory
https://security.gentoo.org/glsa/200501-38

Affected packages

PackageArchVulnerableUnaffected
dev-lang/perl*<= 5.8.6-r3>= 5.8.6-r4, >= 5.8.5-r5 (revision), >= 5.8.4-r4 (revision), >= 5.8.2-r4 (revision)
dev-perl/DBI*<= 1.38>= 1.37-r1 (revision), >= 1.38-r1

Background

Perl is a cross platform programming language. The DBI is the standard database interface module for Perl.

Description

Javier Fernandez-Sanguino Pena discovered that the DBI library creates temporary files in an insecure, predictable way (CAN-2005-0077). Paul Szabo found out that "File::Path::rmtree" is vulnerable to various race conditions (CAN-2004-0452, CAN-2005-0448).

Impact

A local attacker could create symbolic links in the temporary files directory that point to a valid file somewhere on the filesystem. When the DBI library or File::Path::rmtree is executed, this could be used to overwrite or remove files with the rights of the user calling these functions.

Workaround

There are no known workarounds at this time.

Resolution

All Perl users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose dev-lang/perl

All DBI library users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose dev-perl/DBI

References

▸ GLSA 200412-04 Perl: Insecure temporary file creation this version unaffected normal local 2004-12-07

Perl is vulnerable to symlink attacks, potentially allowing a local user to overwrite arbitrary files.

Announced
2004-12-07
Revised
2004-12-07
Access
local
Bugs
#66360
Advisory
https://security.gentoo.org/glsa/200412-04

Affected packages

PackageArchVulnerableUnaffected
dev-lang/perl*< 5.8.5-r2, = 5.8.6>= 5.8.5-r2 (revision), >= 5.8.6-r1

Background

Perl is a stable, cross-platform programming language created by Larry Wall.

Description

Some Perl modules create temporary files in world-writable directories with predictable names.

Impact

A local attacker could create symbolic links in the temporary files directory, pointing to a valid file somewhere on the filesystem. When a Perl script is executed, this would result in the file being overwritten with the rights of the user running the utility, which could be the root user.

Workaround

There is no known workaround at this time.

Resolution

All Perl users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=perl-5.8.5-r2"

References