Opensc: potential pin bypass when card tracks its own login state
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6.6epss 0.9%
exploitation probability
0.9%top 41% of all CVEs
observed exploitation
nono source reports it
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.
CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
OpenSCRed Hat · Red Hat Enterprise Linux 7Red Hat · Red Hat Enterprise Linux 8Red Hat · Red Hat Enterprise Linux 9References
https://access.redhat.com/errata/RHSA-2023:7876https://access.redhat.com/errata/RHSA-2023:7879https://access.redhat.com/security/cve/CVE-2023-40660https://bugzilla.redhat.com/show_bug.cgi?id=2240912https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisorieshttps://lists.debian.org/debian-lts-announce/2023/11/msg00024.htmlhttps://lists.debian.org/debian-lts-announce/2024/12/msg00026.htmlhttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3CPQOMCDWFRBMEFR5VK4N5MMXXU42ODE/https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GLYEFIBBA37TK3UNMZN5NOJ7IWCIXLQP/http://www.openwall.com/lists/oss-security/2023/12/13/2