5.4medium
Opensc: multiple memory issues with pkcs15-init (enrollment tool)
- Severity
- 5.4medium CVSS:3.1 by redhat
- Exploit likelihood
- 1.33% (higher than 71% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
Description
Several memory vulnerabilities were identified within the OpenSC packages, particularly in the card enrollment process using pkcs15-init when a user or administrator enrolls cards. To take advantage of these flaws, an attacker must have physical access to the computer system and employ a custom-crafted USB device or smart card to manipulate responses to APDUs. This manipulation can potentially allow compromise key generation, certificate loading, and other card management operations during enrollment.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| OpenSC | 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 | 5.4medium CVSS:3.1 | CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H |
| NVD | 6.4medium CVSS:3.1 | CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
Several memory vulnerabilities were identified within the OpenSC packages, particularly in the card enrollment process using pkcs15-init when a user or administrator enrolls cards. To take advantage of these flaws, an attacker must have physical access to the computer system and employ a custom-crafted USB device or smart card to manipulate responses to APDUs. This manipulation can potentially allow compromise key generation, certificate loading, and other card management operations during enrollment.
NVD (es)
Se identificaron varias vulnerabilidades de memoria dentro de los paquetes OpenSC, particularmente en el proceso de inscripción de tarjetas usando pkcs15-init cuando un usuario o administrador registra tarjetas. Para aprovechar estas fallas, un atacante debe tener acceso físico al sistema informático y emplear un dispositivo USB o una tarjeta inteligente hechos a medida para manipular las respuestas a las APDU. Esta manipulación puede permitir potencialmente comprometer la generación de claves, la carga de certificados y otras operaciones de administración de tarjetas durante la inscripción.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-40661 changed 2026-11-06 | CVE Terms of Use |
| NVD | CVE-2023-40661 changed 2026-11-06 | Public domain |