Name | CVE-2016-6866 |
Description | slock allows attackers to bypass the screen lock via vectors involving an invalid password hash, which triggers a NULL pointer dereference and crash. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-598-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
suckless-tools (PTS) | bullseye | 46-1 | fixed |
| sid, trixie, bookworm | 47-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://www.openwall.com/lists/oss-security/2016/08/18/22
http://s1m0n.dft-labs.eu/files/slock/
Starting with 41-1 slock.c got patched to use PAM, cf. #739629
and with the patch readpw(dpy, pws) is not called anymore, and
thus in readpw, not calling crypt(passwd, pws) with a possibly
empty pws.