6.6medium
Opensc: potential pin bypass when card tracks its own login state
- Severity
- 6.6medium CVSS:3.1 by redhat
- Exploit likelihood
- 1.04% (higher than 64% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| OpenSC | from 0.17.0 before 0.24.0 Not affected: from 0:0.20.0-7.el8_9 before *, from 0:0.23.0-3.el9_3 before * | CVE List |
| opensc_project opensc | up to 0.23.0 | NVD |
| redhat enterprise_linux | 8.0, 9.0 | NVD |
All scores
| redhat | 6.6medium CVSS:3.1 | CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 6.6medium CVSS:3.1 | CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Se encontró una falla en los paquetes OpenSC que permiten una posible omisión del PIN. Cuando un token/tarjeta es autenticado por un proceso, puede realizar operaciones criptográficas en otros procesos cuando se pasa un pin vacío de longitud cero. Este problema plantea un riesgo de seguridad, particularmente para el inicio de sesión/desbloqueo de pantalla del sistema operativo y para tokens pequeños conectados permanentemente a las maquinas. Además, el token puede rastrear internamente el estado de inicio de sesión. Esta falla permite que un atacante obtenga acceso no autorizado, lleve a cabo acciones maliciosas o comprometa el sistema sin que el usuario se de cuenta.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-40660 changed 2026-11-06 | CVE Terms of Use |
| NVD | CVE-2023-40660 changed 2026-11-06 | Public domain |