Debian DSA-2164-1 : shadow - insufficient input sanitization

medium Nessus Plugin ID 52027
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.


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


Kees Cook discovered that the chfn and chsh utilities do not properly sanitize user input that includes newlines. An attacker could use this to corrupt passwd entries and may create users or groups in NIS environments.

Packages in the oldstable distribution (lenny) are not affected by this problem.


Upgrade the shadow packages.

For the stable distribution (squeeze), this problem has been fixed in version 1:

See Also

Plugin Details

Severity: Medium

ID: 52027

File Name: debian_DSA-2164.nasl

Version: 1.13

Type: local

Agent: unix

Published: 2/20/2011

Updated: 1/4/2021

Dependencies: ssh_get_info.nasl

Risk Information


Risk Factor: Medium

Score: 4


Risk Factor: Medium

Base Score: 6.4

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:shadow, cpe:/o:debian:debian_linux:6.0

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

Patch Publication Date: 2/16/2011

Reference Information

CVE: CVE-2011-0721

DSA: 2164