CVE-2023-40660

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

State
Published
Severity
6.6 Medium
Published
Nov 6, 2023
Updated
Nov 6, 2025
Reserved
Aug 18, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.6 MediumCVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:Hredhat

Weaknesses

Affected Products

ProductVersions
OpenSC
  • 0.17.0 to before 0.24.0Affected
Red Hat Enterprise Linux 8Red Hat
  • 0:0.20.0-7.el8_9 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:0.23.0-3.el9_3 and laterNot affected
Red Hat Enterprise Linux 7Red Hat

    References

    Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.