Lucene search

K
gentooGentoo FoundationGLSA-200711-28
HistoryNov 19, 2007 - 12:00 a.m.

Perl: Buffer overflow

2007-11-1900:00:00
Gentoo Foundation
security.gentoo.org
10

0.034 Low

EPSS

Percentile

91.4%

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"
OSVersionArchitecturePackageVersionFilename
Gentooanyalldev-lang/perl<Β 5.8.8-r4UNKNOWN