Skip to main content
← All vulnerabilities
CVE-2023-40660

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.24.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • OpenSC

    From 0.17.0 · fixed in 0.24.0

  • opensc

    Version range not reported

  • opensc

    Version range not reported

  • opensc

    Version range not reported

References 7

access.redhat.com

bugzilla.redhat.com

GitHub · OpenSC/OpenSC