3.9low
Libopensc: incorrect handling of the length of buffers or files in pkcs15init
- Severity
- 3.9low CVSS:3.1 by redhat
- Exploit likelihood
- 0.32% (higher than 26% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
Description
A vulnerability was found in the pkcs15-init tool in OpenSC. 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 | 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
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
A vulnerability was found in the pkcs15-init tool in OpenSC. 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 la herramienta pkcs15-init de OpenSC. Un atacante podría usar un dispositivo USB o una tarjeta inteligente manipulada específicamente para presentar al sistema una respuesta a las APDU especialmente manipulada. 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-45620 | vdb-entry, vendor-advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2309289 | issue-tracking, vendor-advisory | |
| https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html | ||
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-45620 changed 2026-11-25 | CVE Terms of Use |
| NVD | CVE-2024-45620 changed 2026-11-25 | Public domain |