CVE-2023-40660

medium

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.

References

https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories

https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1

https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651

https://bugzilla.redhat.com/show_bug.cgi?id=2240912

https://access.redhat.com/security/cve/CVE-2023-40660

https://access.redhat.com/errata/RHSA-2023:7879

https://access.redhat.com/errata/RHSA-2023:7876

Details

Source: Mitre, NVD

Published: 2023-11-06

Updated: 2024-09-16

Risk Information

CVSS v2

Base Score: 7.2

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 6.6

Vector: CVSS:3.0/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Severity: Medium