4.3medium
Libopensc: incorrect handling length of buffers or files in libopensc
- Severity
- 4.3medium CVSS:3.1 by redhat
- Exploit likelihood
- 0.32% (higher than 27% 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. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| libopensc | Not specified | 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 | 4.3medium CVSS:3.1 | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 4.3medium CVSS:3.1 | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
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. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.
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-45619 | vdb-entry, vendor-advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2309288 | issue-tracking, vendor-advisory | |
| https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html | ||
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-45619 changed 2026-11-25 | CVE Terms of Use |
| NVD | CVE-2024-45619 changed 2026-11-25 | Public domain |