Ubuntu 14.04 LTS / 16.04 LTS / 16.10 / 17.04 : shadow regression (USN-3276-2)

Medium Nessus Plugin ID 100248


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


USN-3276-1 intended to fix a vulnerability in su. The solution introduced a regression in su signal handling. This update modifies the security fix. We apologize for the inconvenience.

Sebastian Krahmer discovered integer overflows in shadow utilities. A local attacker could possibly cause them to crash or potentially gain privileges via crafted input. (CVE-2016-6252)

Tobias Stockmann discovered a race condition in su. A local attacker could cause su to send SIGKILL to other processes with root privileges. (CVE-2017-2616).

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 login, passwd and / or uidmap packages.

Plugin Details

Severity: Medium

ID: 100248

File Name: ubuntu_USN-3276-2.nasl

Version: $Revision: 3.3 $

Type: local

Agent: unix

Published: 2017/05/17

Modified: 2017/08/16

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 4.6

Temporal Score: 3.5

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

Temporal Vector: CVSS2#E:U/RL:ND/RC:UC


Base Score: 7.8

Temporal Score: 6.6

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

Temporal Vector: CVSS:3.0/E:U/RL:X/RC:U

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:login, p-cpe:/a:canonical:ubuntu_linux:passwd, p-cpe:/a:canonical:ubuntu_linux:uidmap, cpe:/o:canonical:ubuntu_linux:14.04, cpe:/o:canonical:ubuntu_linux:16.04, cpe:/o:canonical:ubuntu_linux:16.10, cpe:/o:canonical:ubuntu_linux:17.04

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

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2017/05/16

Reference Information

CVE: CVE-2016-6252, CVE-2017-2616

OSVDB: 142047, 152469

USN: 3276-2