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

CVE-2023-40660
MEDIUM 6.6

At a glance

Source
NVD
EPSS
EPSS 1.04 % · percentile 64 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-287 — Improper Authentication

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 6.6CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:Hredhat
CVSS 3.1MEDIUM 6.6CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HNVD · secalert@redhat.com (Secondary)
CVSS 3.1MEDIUM 6.6CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
OpenSCaffected 0.17.0 < 0.24.0
Red Hat · Red Hat Enterprise Linux 8unaffected 0:0.20.0-7.el8_9 < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:0.23.0-3.el9_3 < *
Red Hat · Red Hat Enterprise Linux 7

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD