GLSA-200711-28 : Perl: Buffer overflow

high Nessus Plugin ID 28267

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200711-28 (Perl: Buffer overflow)

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.

Solution

All Perl users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-lang/perl-5.8.8-r4'

See Also

https://security.gentoo.org/glsa/200711-28

Plugin Details

Severity: High

ID: 28267

File Name: gentoo_GLSA-200711-28.nasl

Version: 1.16

Type: local

Published: 11/20/2007

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:perl, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 11/19/2007

Reference Information

CVE: CVE-2007-5116

CWE: 119

GLSA: 200711-28