Auth bypass in Opensc Project
CVE-2023-40660
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.
Vulnerability class: Broken Authentication
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.6 (Medium). Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.010 (63.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 64th percentile — 63.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.010 · newest: 0.010 · change: +0.000
Affected products
- Opensc Project
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8 — versions 0:0.20.0-7.el8_9
- Red Hat Enterprise Linux 9 — versions 0:0.23.0-3.el9_3
- Red Hat Enterprise Linux — versions 8.0, 9.0
Weakness classification (CWE)
References
- access.redhat.com/errata/RHSA-2023:7876 (vendor-advisory)
- access.redhat.com/errata/RHSA-2023:7879 (vendor-advisory)
- access.redhat.com/security/cve/CVE-2023-40660 (Third Party Advisory, vdb-entry)
- bugzilla.redhat.com/show_bug.cgi (issue-tracking, Issue Tracking)
- github.com/OpenSC/OpenSC/issues/2792 (Issue Tracking)
- github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1 (Release Notes)
- github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories (Vendor Advisory)
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2023-40660?
- CVE-2023-40660 is a medium-severity vulnerability in Opensc Project, classified under Improper Authentication. CVSS score: 6.6/10. Published 2023-11-06.
- How severe is CVE-2023-40660?
- Medium severity. CVSS v3 base score is 6.6 out of 10.