portage-ng / portage / sys-libs / cracklib / 2.10.2
portage-ng glsa
1 advisory reference sys-libs/cracklib · none place version 2.10.2 in a vulnerable range
▸ GLSA 201612-25 CrackLib: Buffer overflow this version unaffected normal local 2016-12-08

A vulnerability in CrackLib could lead to the execution of arbitrary code.

Announced
2016-12-08
Revised
2016-12-08
Access
local
Bugs
#591456
Advisory
https://security.gentoo.org/glsa/201612-25

Affected packages

PackageArchVulnerableUnaffected
sys-libs/cracklib*< 2.9.6-r1>= 2.9.6-r1

Background

CrackLib is a library used to enforce strong passwords by comparing user selected passwords to words in chosen word lists.

Description

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.

Resolution

All CrackLib users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-libs/cracklib-2.9.6-r1"

References