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

Medium Nessus Plugin ID 20765


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


USN-222-1 fixed a vulnerability in the Perl interpreter. It was discovered that the version of USN-222-1 was not sufficient to handle all possible cases of malformed input that could lead to arbitrary code execution, so another update is necessary.

Original advisory :

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.


Update the affected packages.

Plugin Details

Severity: Medium

ID: 20765

File Name: ubuntu_USN-222-2.nasl

Version: $Revision: 1.11 $

Type: local

Agent: unix

Published: 2006/01/21

Modified: 2016/05/26

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 4.6

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

Vulnerability Information

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

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

Patch Publication Date: 2005/12/12

Reference Information

CVE: CVE-2005-3962

USN: 222-2