6.6Medium

CVE-2023-40660Opensc: potential pin bypass when card tracks its own login state

OpenSC; Red Hat Red Hat Enterprise Linux 8; Red Hat Red Hat Enterprise Linux 9; Red Hat Red Hat Enterprise Linux 7 Published: (3 years ago)

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.

Weakness (CWE): CWE-287

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
enterprise linux 8 —
enterprise linux 9 —
opensc project opensc ≤ 0.23.0
redhat enterprise linux 8.0
Red Hat Red Hat Enterprise Linux 7 —
Red Hat Red Hat Enterprise Linux 8 all versions
Red Hat Red Hat Enterprise Linux 9 all versions
— OpenSC 0.17.0 – < 0.24.0

References and patches

CPE matches (NVD) (3)

  • cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:* ≤ 0.23.0
  • cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*