CVE-2023-40660

Opensc: potential pin bypass when card tracks its own login state

Published Nov 6, 2023 CVSS 3.1 · 6.6 Medium EPSS 1.0% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3668-1 opensc security update
Debian DLA Debian DLA DLA-4004-1 opensc security update
EUVD EUVD EUVD-2023-45216 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.
Ubuntu USN Ubuntu USN USN-7346-1 OpenSC vulnerabilities
Ubuntu USN Ubuntu USN USN-7346-3 OpenSC vulnerabilities
History
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:7 cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-327
Type Values Removed Values Added
Weaknesses CWE-327
Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 6, 2026, 8:26 PM
Reserved
Aug 18, 2023, 8:08 AM
Status
Modified
Published
Nov 6, 2023, 5:15 PM
Modified
Nov 6, 2026, 9:17 PM
Severity
Moderate
Public date
Sep 25, 2023, 12:00 AM