GLSA-201612-25 : CrackLib: Buffer overflow

High Nessus Plugin ID 95641


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


The remote host is affected by the vulnerability described in GLSA-201612-25 (CrackLib: Buffer overflow)

A stack-based buffer overflow was discovered in the FascistGecosUser function of lib/fascist.c.
Impact :

A local attacker could set a specially crafted GECOS field value in “/etc/passwd”; possibly resulting in the execution of arbitrary code with the privileges of the process, a Denial of Service condition, or the escalation of privileges.
Workaround :

There is no known workaround at this time.


All CrackLib users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=sys-libs/cracklib-2.9.6-r1'

See Also

Plugin Details

Severity: High

ID: 95641

File Name: gentoo_GLSA-201612-25.nasl

Version: Revision: 2.1

Type: local

Published: 2016/12/08

Updated: 2016/12/08

Dependencies: 12634

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.2

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

CVSS v3.0

Base Score: 7.8

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:cracklib, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 2016/12/08

Reference Information

CVE: CVE-2016-6318

GLSA: 201612-25