Name | CVE-2023-40660 |
Description | A flaw was found in OpenSC packages that allow a potential PIN bypass. When a token/card is authenticated by one process, it can perform cryptographic operations in other processes when an empty zero-length pin is passed. This issue poses a security risk, particularly for OS logon/screen unlock and for small, permanently connected tokens to computers. Additionally, the token can internally track login status. This flaw allows an attacker to gain unauthorized access, carry out malicious actions, or compromise the system without the user's awareness. |
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-3668-1 |
Debian Bugs | 1055521 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
opensc (PTS) | jessie, jessie (lts) | 0.16.0-3+deb8u3 | vulnerable |
stretch (security), stretch (lts), stretch | 0.16.0-3+deb9u2 | vulnerable | |
buster (security), buster, buster (lts) | 0.19.0-1+deb10u3 | fixed | |
bullseye | 0.21.0-1 | vulnerable | |
bookworm | 0.23.0-0.3+deb12u1 | fixed | |
sid, trixie | 0.25.1-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
opensc | source | jessie | (unfixed) | end-of-life | ||
opensc | source | stretch | (unfixed) | end-of-life | ||
opensc | source | buster | 0.19.0-1+deb10u3 | DLA-3668-1 | ||
opensc | source | bookworm | 0.23.0-0.3+deb12u1 | |||
opensc | source | (unstable) | 0.23.0-2 | 1055521 |
[bullseye] - opensc <no-dsa> (Minor issue)
https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651
https://github.com/OpenSC/OpenSC/wiki/CVE-2023-40660
Fixed by: https://github.com/OpenSC/OpenSC/commit/868f76fb31255fd3fdacfc3e476452efeb61c3e7 (0.24.0-rc1)