Ubuntu 4.10 / 5.04 / 5.10 : perl vulnerability (USN-222-1)

medium Nessus Plugin ID 20764

Synopsis

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

Description

Jack Louis of Dyad Security discovered that Perl did not sufficiently check the explicit length argument in format strings. Specially crafted format strings with overly large length arguments led to a crash of the Perl interpreter or even to execution of arbitrary attacker-defined code with the privileges of the user running the Perl program.

However, this attack was only possible in insecure Perl programs which use variables with user-defined values in string interpolations without checking their validity.

Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Update the affected packages.

Plugin Details

Severity: Medium

ID: 20764

File Name: ubuntu_USN-222-1.nasl

Version: 1.14

Type: local

Agent: unix

Published: 1/21/2006

Updated: 1/19/2021

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

CVSS v2

Risk Factor: Medium

Base Score: 4.6

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

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:5.04, p-cpe:/a:canonical:ubuntu_linux:perl-base, p-cpe:/a:canonical:ubuntu_linux:libperl5.8, p-cpe:/a:canonical:ubuntu_linux:perl-debug, p-cpe:/a:canonical:ubuntu_linux:perl-suid, cpe:/o:canonical:ubuntu_linux:5.10, p-cpe:/a:canonical:ubuntu_linux:perl-doc, p-cpe:/a:canonical:ubuntu_linux:perl, p-cpe:/a:canonical:ubuntu_linux:perl-modules, p-cpe:/a:canonical:ubuntu_linux:libcgi-fast-perl, cpe:/o:canonical:ubuntu_linux:4.10, p-cpe:/a:canonical:ubuntu_linux:libperl-dev

Required KB Items: Host/cpu, Host/Ubuntu, Host/Ubuntu/release, Host/Debian/dpkg-l

Patch Publication Date: 12/2/2005

Reference Information

CVE: CVE-2005-3962

USN: 222-1