GLSA Advocate
Joined: 12 May 2004 Posts: 2663
|
Posted: Mon Nov 19, 2007 9:26 pm Post subject: [ GLSA 200711-28 ] Perl: Buffer overflow |
|
|
Gentoo Linux Security Advisory
Title: Perl: Buffer overflow (GLSA 200711-28)
Severity: normal
Exploitable: remote
Date: November 19, 2007
Bug(s): #198196
ID: 200711-28
Synopsis
A buffer overflow in the Regular Expression engine in Perl possibly allows for the execution of arbitrary code.
Background
Perl is a stable, cross-platform programming language created by Larry Wall.
Affected Packages
Package: dev-lang/perl
Vulnerable: < 5.8.8-r4
Unaffected: >= 5.8.8-r4
Architectures: All supported architectures
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: Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/perl-5.8.8-r4" |
References
CVE-2007-5116 |
|