CVE-2024-1454 Opensc: memory use after free in authentic driver when updating token info
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
18 packages: 9 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/opensc(Ubuntu 20.04) | = 0.19.0-2; = 0.20.0-1; = 0.20.0-2; = 0.20.0-3 +1 more | No fix listed | No fix yet |
| ubuntu/opensc(Ubuntu 22.04) | = 0.21.0-1ubuntu1; = 0.22.0-1ubuntu2; All versions | No fix listed | No fix yet |
| ubuntu/opensc(Ubuntu 24.04) | = 0.23.0-1ubuntu4; = 0.24.0~rc1-1; = 0.25.0~rc1-1; = 0.25.0~rc1-1build1 +2 more | No fix listed | No fix yet |
| ubuntu/opensc(Ubuntu Pro 16.04) | = 0.15.0-1ubuntu1; = 0.15.0-1ubuntu1+esm1; All versions | No fix listed | No fix yet |
| ubuntu/opensc(Ubuntu Pro 18.04) | = 0.17.0-1; = 0.17.0-2; = 0.17.0-2build1; = 0.17.0-3 +2 more | No fix listed | No fix yet |
| alpine/opensc(Alpine v3.20) | < 0.25.1-r0 | 0.25.1-r0 | Fixed |
| alpine/opensc(Alpine v3.21) | < 0.25.1-r0 | 0.25.1-r0 | Fixed |
| alpine/opensc(Alpine v3.22) | < 0.25.1-r0 | 0.25.1-r0 | Fixed |
| alpine/opensc(Alpine v3.23) | < 0.25.1-r0 | 0.25.1-r0 | Fixed |
| alpine/opensc(Alpine v3.24) | < 0.25.1-r0 | 0.25.1-r0 | Fixed |
| debian/opensc(Debian 12) | < 0.23.0-0.3+deb12u2; = 0.23.0-0.3; = 0.23.0-0.3+deb12u1 | 0.23.0-0.3+deb12u2 | Fixed |
| debian/opensc(Debian 13) | < 0.25.0~rc1-1 | 0.25.0~rc1-1 | Fixed |
| debian/opensc(Debian 14) | < 0.25.0~rc1-1 | 0.25.0~rc1-1 | Fixed |
| opensc project opensc | < 0.25.0 | 0.25.0 | Fixed |
| fedoraproject fedora | = 38; = 39; = 40 | No fix listed | Versions listed |
| opensc | = 0.25.0 | No fix listed | Versions listed |
| redhat enterprise linux | = 7.0; = 8; = 8.0; = 9 +1 more | No fix listed | Versions listed |
| redhat rhel els | = 7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/opensc(Debian:12) | < 0.23.0-0.3+deb12u2 | 0.23.0-0.3+deb12u2 |
| debian/opensc(Debian:12) | = 0.23.0-0.3 | No fix listed |
| debian/opensc(Debian:12) | = 0.23.0-0.3+deb12u1 | No fix listed |
| debian/opensc(Debian:13) | < 0.25.0~rc1-1 | 0.25.0~rc1-1 |
| debian/opensc(Debian:14) | < 0.25.0~rc1-1 | 0.25.0~rc1-1 |
| opensc | = 0.25.0 | No fix listed |
| redhat rhel els | = 7 | No fix listed |
| redhat enterprise linux | = 8 | No fix listed |
| redhat enterprise linux | = 9 | No fix listed |
| alpine/opensc(Alpine:v3.20) | < 0.25.1-r0 | 0.25.1-r0 |
| alpine/opensc(Alpine:v3.21) | < 0.25.1-r0 | 0.25.1-r0 |
| alpine/opensc(Alpine:v3.22) | < 0.25.1-r0 | 0.25.1-r0 |
| alpine/opensc(Alpine:v3.23) | < 0.25.1-r0 | 0.25.1-r0 |
| alpine/opensc(Alpine:v3.24) | < 0.25.1-r0 | 0.25.1-r0 |
| opensc project opensc | < 0.25.0 | 0.25.0 |
| fedoraproject fedora | = 38 | No fix listed |
| fedoraproject fedora | = 39 | No fix listed |
| fedoraproject fedora | = 40 | No fix listed |
| redhat enterprise linux | = 7.0 | No fix listed |
| redhat enterprise linux | = 8.0 | No fix listed |
| redhat enterprise linux | = 9.0 | No fix listed |
| ubuntu/opensc(Ubuntu:Pro:16.04) | All versions | No fix listed |
| ubuntu/opensc(Ubuntu:Pro:16.04) | = 0.15.0-1ubuntu1 | No fix listed |
| ubuntu/opensc(Ubuntu:Pro:16.04) | = 0.15.0-1ubuntu1+esm1 | No fix listed |
| ubuntu/opensc(Ubuntu:Pro:18.04) | All versions | No fix listed |
Show 19 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/opensc(Ubuntu:Pro:18.04) | = 0.17.0-1 | No fix listed |
| ubuntu/opensc(Ubuntu:Pro:18.04) | = 0.17.0-2 | No fix listed |
| ubuntu/opensc(Ubuntu:Pro:18.04) | = 0.17.0-2build1 | No fix listed |
| ubuntu/opensc(Ubuntu:Pro:18.04) | = 0.17.0-3 | No fix listed |
| ubuntu/opensc(Ubuntu:Pro:18.04) | = 0.17.0-3ubuntu0.1~esm1 | No fix listed |
| ubuntu/opensc(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/opensc(Ubuntu:20.04) | = 0.19.0-2 | No fix listed |
| ubuntu/opensc(Ubuntu:20.04) | = 0.20.0-1 | No fix listed |
| ubuntu/opensc(Ubuntu:20.04) | = 0.20.0-2 | No fix listed |
| ubuntu/opensc(Ubuntu:20.04) | = 0.20.0-3 | No fix listed |
| ubuntu/opensc(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/opensc(Ubuntu:22.04) | = 0.21.0-1ubuntu1 | No fix listed |
| ubuntu/opensc(Ubuntu:22.04) | = 0.22.0-1ubuntu2 | No fix listed |
| ubuntu/opensc(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/opensc(Ubuntu:24.04) | = 0.23.0-1ubuntu4 | No fix listed |
| ubuntu/opensc(Ubuntu:24.04) | = 0.24.0~rc1-1 | No fix listed |
| ubuntu/opensc(Ubuntu:24.04) | = 0.25.0~rc1-1 | No fix listed |
| ubuntu/opensc(Ubuntu:24.04) | = 0.25.0~rc1-1build1 | No fix listed |
| ubuntu/opensc(Ubuntu:24.04) | = 0.25.0~rc1-1build2 | No fix listed |
References
- Debian Security Tracker CVE-2024-1454 vendor-advisory
- access.redhat.com third-party-advisory vdb-entry
- bugs.chromium.org issue-tracking
- RHBZ#2263929 issue-tracking third-party-advisory
- github.com patch
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.debian.org
- security.alpinelinux.org vendor-advisory
- ubuntu.com issue-tracking
- www.cve.org issue-tracking
- ENISA EUVD EUVD-2024-17206 third-party-advisory