CVE-2023-40660

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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1
MISC https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories
issue-tracking https://bugzilla.redhat.com/show_bug.cgi?id=2240912
MISC https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651
vdb-entry https://access.redhat.com/security/cve/CVE-2023-40660
secalert@redhat.com http://www.openwall.com/lists/oss-security/2023/12/13/2
secalert@redhat.com https://lists.debian.org/debian-lts-announce/2023/11/msg00024.html
vendor-advisory https://access.redhat.com/errata/RHSA-2023:7876
vendor-advisory https://access.redhat.com/errata/RHSA-2023:7879
secalert@redhat.com https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GLYEFIBBA37TK3UNMZN5NOJ7IWCIXLQP/
secalert@redhat.com https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3CPQOMCDWFRBMEFR5VK4N5MMXXU42ODE/
af854a3a-2127-422b-91ae-364da2661108 https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html

Match rules

CPE URI Source package Min version Max version
shopxo >= 0.17.0 < 0.24.0
cpe:/o:redhat:enterprise_linux:8::baseos shopxo >= 0:0.20.0-7.el8_9 < *
cpe:/o:redhat:enterprise_linux:9::baseos shopxo >= 0:0.23.0-3.el9_3 < *

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
opensc edge-community 0.24.0-r0 Timo Teräs <timo.teras@iki.fi> fixed
opensc 3.22-community 0.24.0-r0 None fixed
opensc 3.21-community 0.24.0-r0 None fixed
opensc 3.20-community 0.24.0-r0 None fixed
opensc 3.19-community 0.24.0-r0 Timo Teräs <timo.teras@iki.fi> fixed
opensc 3.18-community 0.23.0-r0 Timo Teräs <timo.teras@iki.fi> possibly vulnerable