CVE-2023-40660

6.6 MEDIUM
Published: November 06, 2023 Modified: November 03, 2025

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://access.redhat.com/security/cve/CVE-2023-40660
Source: secalert@redhat.com
Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2240912
Source: secalert@redhat.com
Issue Tracking
https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1
Source: secalert@redhat.com
Release Notes
https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories
Source: secalert@redhat.com
Vendor Advisory
http://www.openwall.com/lists/oss-security/2023/12/13/2
Source: af854a3a-2127-422b-91ae-364da2661108
https://access.redhat.com/errata/RHSA-2023:7876
Source: af854a3a-2127-422b-91ae-364da2661108
https://access.redhat.com/errata/RHSA-2023:7879
Source: af854a3a-2127-422b-91ae-364da2661108
https://access.redhat.com/security/cve/CVE-2023-40660
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2240912
Source: af854a3a-2127-422b-91ae-364da2661108
Issue Tracking
https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651
Source: af854a3a-2127-422b-91ae-364da2661108
Issue Tracking
https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1
Source: af854a3a-2127-422b-91ae-364da2661108
Release Notes
https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories
Source: af854a3a-2127-422b-91ae-364da2661108
Vendor Advisory

19 reference(s) from NVD

Quick Stats

CVSS v3 Score
6.6 / 10.0
EPSS (Exploit Probability)
0.0%
12th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

redhat opensc_project