CVE-2016-6866
published 2017-02-15CVE-2016-6866: slock allows attackers to bypass the screen lock via vectors involving an invalid password hash, which triggers a NULL pointer dereference and crash.
PriorityP336high7.5CVSS 3.0
AVNACLPRNUINSUCNINAH
EPSS
2.89%
85.3th percentile
slock allows attackers to bypass the screen lock via vectors involving an invalid password hash, which triggers a NULL pointer dereference and crash.
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | suckless-tools | < suckless-tools 41-1 (bookworm) | suckless-tools 41-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| suckless | slock | <= 1.3 | — |
CVSS provenance
nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_debian7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-h53p-2gg5-7vfm: slock allows attackers to bypass the screen lock via vectors involving an invalid password hash, which triggers a NULL pointer dereference and crash
ghsa_unreviewed·2022-05-17
CVE-2016-6866 [HIGH] CWE-476 GHSA-h53p-2gg5-7vfm: slock allows attackers to bypass the screen lock via vectors involving an invalid password hash, which triggers a NULL pointer dereference and crash
slock allows attackers to bypass the screen lock via vectors involving an invalid password hash, which triggers a NULL pointer dereference and crash.
OSV
CVE-2016-6866: slock allows attackers to bypass the screen lock via vectors involving an invalid password hash, which triggers a NULL pointer dereference and crash
osv·2017-02-15·CVSS 7.5
CVE-2016-6866 [HIGH] CVE-2016-6866: slock allows attackers to bypass the screen lock via vectors involving an invalid password hash, which triggers a NULL pointer dereference and crash
slock allows attackers to bypass the screen lock via vectors involving an invalid password hash, which triggers a NULL pointer dereference and crash.
Debian
CVE-2016-6866: suckless-tools - slock allows attackers to bypass the screen lock via vectors involving an invali...
vendor_debian·2016·CVSS 7.5
CVE-2016-6866 [HIGH] CVE-2016-6866: suckless-tools - slock allows attackers to bypass the screen lock via vectors involving an invali...
slock allows attackers to bypass the screen lock via vectors involving an invalid password hash, which triggers a NULL pointer dereference and crash.
Scope: local
bookworm: resolved (fixed in 41-1)
bullseye: resolved (fixed in 41-1)
forky: resolved (fixed in 41-1)
sid: resolved (fixed in 41-1)
trixie: resolved (fixed in 41-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-6866 slock: Null pointer dereference results in segmentation fault
bugzilla·2016-08-19·CVSS 7.5
CVE-2016-6866 [HIGH] CVE-2016-6866 slock: Null pointer dereference results in segmentation fault
CVE-2016-6866 slock: Null pointer dereference results in segmentation fault
The screen locking application slock (http://tools.suckless.org/slock/)
calls crypt(3) and uses the return value for strcmp(3) without checking
to see if the return value of crypt(3) was a NULL pointer. If the hash
returned by (getspnam()->sp_pwdp) is invalid, crypt(3) will return NULL
and set errno to EINVAL. This will cause slock to segfault which then
leaves the machine unprotected.
References:
http://seclists.org/oss-sec/2016/q3/328
http://s1m0n.dft-labs.eu/files/slock/
Discussion:
Created slock tracking bugs for this issue:
Affects: fedora-all [bug 1368370]
---
Created attachment 1196223
Upstream fix
---
slock-1.3-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, p
Bugzilla
CVE-2016-6866 slock: Null pointer dereference results in segmentation fault [fedora-all]
bugzilla·2016-08-19·CVSS 7.5
CVE-2016-6866 [HIGH] CVE-2016-6866 slock: Null pointer dereference results in segmentation fault [fedora-all]
CVE-2016-6866 slock: Null pointer dereference results in segmentation fault [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported v
http://git.suckless.org/slock/commit/?id=d8bec0f6fdc8a246d78cb488a0068954b46fcb29http://s1m0n.dft-labs.eu/files/slock/slock.txthttp://www.openwall.com/lists/oss-security/2016/08/18/22http://www.openwall.com/lists/oss-security/2016/08/18/24http://www.securityfocus.com/bid/92546https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2FYPV6QQPPYBL3Z2BYNYEJB67FSC55OR/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RZPEJQNVODYSI4WQXM5GQKXRO7TPK2VG/http://git.suckless.org/slock/commit/?id=d8bec0f6fdc8a246d78cb488a0068954b46fcb29http://s1m0n.dft-labs.eu/files/slock/slock.txthttp://www.openwall.com/lists/oss-security/2016/08/18/22http://www.openwall.com/lists/oss-security/2016/08/18/24http://www.securityfocus.com/bid/92546https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2FYPV6QQPPYBL3Z2BYNYEJB67FSC55OR/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RZPEJQNVODYSI4WQXM5GQKXRO7TPK2VG/
2017-02-15
Published