Vulnerability · Published Feb 12, 2024 · Assigned by redhat
CVE-2024-1454Opensc: memory use after free in authentic driver when updating token info
Low 3.4
In plain English
A low-severity use-after-free in opensc. 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 37% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
The use-after-free vulnerability was found in the AuthentIC driver in OpenSC packages, occuring in the card enrolment process using pkcs15-init when a user or administrator enrols or modifies cards. An attacker must have physical access to the computer system and requires a crafted USB device or smart card to present the system with specially crafted responses to the APDUs, which are considered high complexity and low severity. This manipulation can allow for compromised card management operations during enrolment.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | opensc | 0.25.1-r0 | ALPINE-CVE-2024-1454 |
| Alpine:v3.21 | opensc | 0.25.1-r0 | ALPINE-CVE-2024-1454 |
| Alpine:v3.22 | opensc | 0.25.1-r0 | ALPINE-CVE-2024-1454 |
| Alpine:v3.23 | opensc | 0.25.1-r0 | ALPINE-CVE-2024-1454 |
| Alpine:v3.24 | opensc | 0.25.1-r0 | ALPINE-CVE-2024-1454 |
| Debian:12 | opensc | 0.23.0-0.3+deb12u2 | DEBIAN-CVE-2024-1454 |
| Debian:13 | opensc | 0.25.0~rc1-1 | DEBIAN-CVE-2024-1454 |
| Debian:14 | opensc | 0.25.0~rc1-1 | DEBIAN-CVE-2024-1454 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| opensc | 0.25.0 | |
| 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-416 · Vector: CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- https://access.redhat.com/security/cve/CVE-2024-1454 vdb-entry, x_refsource_REDHAT
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64898
- RHBZ#2263929 issue-tracking, x_refsource_REDHAT
- https://github.com/OpenSC/OpenSC/commit/5835f0d4f6c033bd58806d33fa546908d39825c9
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RJI2FWLY24EOPALQ43YPQEZMEP3APPPI/ x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OWIZ5ZLO5ECYPLSTESCF7I7PQO5X6ZSU/ x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UECKC7X4IM4YZQ5KRQMNBNKNOXLZC7RZ/ x_transferred
- https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html