Vulnerability · Published Sep 3, 2024 · Assigned by redhat
CVE-2024-45616Libopensc: uninitialized values after incorrect check or usage of apdu response values in libopensc
Low 3.9
In plain English
A low-severity security flaw in libopensc. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.21 | opensc | 0.26.0-r0 | ALPINE-CVE-2024-45616 |
| Alpine:v3.22 | opensc | 0.26.0-r0 | ALPINE-CVE-2024-45616 |
| Alpine:v3.23 | opensc | 0.26.0-r0 | ALPINE-CVE-2024-45616 |
| Alpine:v3.24 | opensc | 0.26.0-r0 | ALPINE-CVE-2024-45616 |
| Debian:12 | opensc | 0.23.0-0.3+deb12u2 | DEBIAN-CVE-2024-45616 |
| Debian:13 | opensc | 0.25.1-2.1 | DEBIAN-CVE-2024-45616 |
| Debian:14 | opensc | 0.25.1-2.1 | DEBIAN-CVE-2024-45616 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| libopensc | 0 – before 0.26.0 | |
| Red Hat | Red Hat Enterprise Linux 10 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
Weakness: CWE-457 · Vector: CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
References
- https://access.redhat.com/security/cve/CVE-2024-45616 vdb-entry, x_refsource_REDHAT
- RHBZ#2309290 issue-tracking, x_refsource_REDHAT
- https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html