Debian DSA-3501-1 : perl - security update

high Nessus Plugin ID 89062

Synopsis

The remote Debian host is missing a security-related update.

Description

Stephane Chazelas discovered a bug in the environment handling in Perl. Perl provides a Perl-space hash variable, %ENV, in which environment variables can be looked up. If a variable appears twice in envp, only the last value would appear in %ENV, but getenv would return the first. Perl's taint security mechanism would be applied to the value in %ENV, but not to the other rest of the environment. This could result in an ambiguous environment causing environment variables to be propagated to subprocesses, despite the protections supposedly offered by taint checking.

With this update Perl changes the behavior to match the following :

- %ENV is populated with the first environment variable, as getenv would return.
- Duplicate environment entries are removed.

Solution

Upgrade the perl packages.

For the oldstable distribution (wheezy), this problem has been fixed in version 5.14.2-21+deb7u3.


For the stable distribution (jessie), this problem has been fixed in version 5.20.2-3+deb8u4.

See Also

https://packages.debian.org/source/wheezy/perl

https://packages.debian.org/source/jessie/perl

https://www.debian.org/security/2016/dsa-3501

Plugin Details

Severity: High

ID: 89062

File Name: debian_DSA-3501.nasl

Version: 2.11

Type: local

Agent: unix

Published: 3/2/2016

Updated: 1/11/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.1

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:8.0, p-cpe:/a:debian:debian_linux:perl, cpe:/o:debian:debian_linux:7.0

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

Exploit Ease: No known exploits are available

Patch Publication Date: 3/1/2016

Vulnerability Publication Date: 4/8/2016

Reference Information

CVE: CVE-2016-2381

DSA: 3501