3.9low
Libopensc: uninitialized values after incorrect check or usage of apdu response values in libopensc
- Severity
- 3.9low CVSS:3.1 by redhat
- Exploit likelihood
- 0.36% (higher than 31% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
Description
A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. The following problems were caused by insufficient control of the response APDU buffer and its length when communicating with the card.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| libopensc | before 0.26.0 | CVE List |
| opensc | Not specified | CVE List |
| redhat enterprise_linux | 7.0, 8.0, 9.0 | NVD |
| opensc_project opensc | before 0.26.0 | NVD |
All scores
| redhat | 3.9low CVSS:3.1 | CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 3.9low CVSS:3.1 | CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
Classification
What each source says
CVE List
A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. The following problems were caused by insufficient control of the response APDU buffer and its length when communicating with the card.
NVD (es)
Se encontró una vulnerabilidad en OpenSC, herramientas OpenSC, módulo PKCS#11, minidriver y CTK. Un atacante podría usar un dispositivo USB o una tarjeta inteligente manipulada específicamente para presentar al sistema una respuesta especialmente manipulada a las APDU. Cuando los búferes están parcialmente llenos de datos, se puede acceder incorrectamente a las partes inicializadas del búfer.
References
| https://access.redhat.com/security/cve/CVE-2024-45616 | vdb-entry, vendor-advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2309290 | issue-tracking, vendor-advisory | |
| https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html | ||
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-45616 changed 2026-11-25 | CVE Terms of Use |
| NVD | CVE-2024-45616 changed 2026-11-25 | Public domain |