FreeBSD : perl -- denial of service via algorithmic complexity attack on hashing routines (68c1f75b-8824-11e2-9996-c48508086173)

high Nessus Plugin ID 65199

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

Perl developers report :

In order to prevent an algorithmic complexity attack against its hashing mechanism, perl will sometimes recalculate keys and redistribute the contents of a hash. This mechanism has made perl robust against attacks that have been demonstrated against other systems.

Research by Yves Orton has recently uncovered a flaw in the rehashing code which can result in pathological behavior. This flaw could be exploited to carry out a denial of service attack against code that uses arbitrary user input as hash keys.

Because using user-provided strings as hash keys is a very common operation, we urge users of perl to update their perl executable as soon as possible.

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?ed817f26

http://www.nessus.org/u?9ea930fe

Plugin Details

Severity: High

ID: 65199

File Name: freebsd_pkg_68c1f75b882411e29996c48508086173.nasl

Version: 1.10

Type: local

Published: 3/12/2013

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.8

CVSS v2

Risk Factor: High

Base Score: 7.5

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:perl, p-cpe:/a:freebsd:freebsd:perl-threaded, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 3/10/2013

Vulnerability Publication Date: 3/4/2013

Reference Information

CVE: CVE-2013-1667