CVE-2024-45618 Libopensc: uninitialized values after incorrect or missing checking return values of functions in pkcs15init
LowCVSS 3.9
EPSS 0.31%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
A vulnerability was found in pkcs15-init 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.
Insufficient or missing checking of return values of functions leads to unexpected work with variables that have not been initialized.
Upgrade path
13 packages: 10 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| libopensc | All versions | No fix listed | No fix yet |
| redhat enterprise linux | = 7.0; = 8.0; = 9.0; All versions | No fix listed | No fix yet |
| redhat rhel els | All versions | No fix listed | No fix yet |
| alpine/opensc(Alpine v3.21) | < 0.26.0-r0 | 0.26.0-r0 | Fixed |
| alpine/opensc(Alpine v3.22) | < 0.26.0-r0 | 0.26.0-r0 | Fixed |
| alpine/opensc(Alpine v3.23) | < 0.26.0-r0 | 0.26.0-r0 | Fixed |
| alpine/opensc(Alpine v3.24) | < 0.26.0-r0 | 0.26.0-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.1-2.1 | 0.25.1-2.1 | Fixed |
| debian/opensc(Debian 14) | < 0.25.1-2.1 | 0.25.1-2.1 | Fixed |
| opensc project opensc | < 0.26.0 | 0.26.0 | Fixed |
| ubuntu/opensc(Ubuntu 22.04) | < 0.22.0-1ubuntu2+esm1 | 0.22.0-1ubuntu2+esm1 | Fixed |
| ubuntu/opensc(Ubuntu 24.04) | < 0.25.0~rc1-1ubuntu0.1~esm1 | 0.25.0~rc1-1ubuntu0.1~esm1 | Fixed |
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.1-2.1 | 0.25.1-2.1 |
| debian/opensc(Debian:14) | < 0.25.1-2.1 | 0.25.1-2.1 |
| ubuntu/opensc(Ubuntu:22.04) | < 0.22.0-1ubuntu2+esm1 | 0.22.0-1ubuntu2+esm1 |
| libopensc | All versions | No fix listed |
| redhat enterprise linux | All versions | No fix listed |
| redhat rhel els | All versions | No fix listed |
| alpine/opensc(Alpine:v3.21) | < 0.26.0-r0 | 0.26.0-r0 |
| alpine/opensc(Alpine:v3.22) | < 0.26.0-r0 | 0.26.0-r0 |
| alpine/opensc(Alpine:v3.23) | < 0.26.0-r0 | 0.26.0-r0 |
| alpine/opensc(Alpine:v3.24) | < 0.26.0-r0 | 0.26.0-r0 |
| ubuntu/opensc(Ubuntu:24.04) | < 0.25.0~rc1-1ubuntu0.1~esm1 | 0.25.0~rc1-1ubuntu0.1~esm1 |
| redhat enterprise linux | = 7.0 | No fix listed |
| redhat enterprise linux | = 8.0 | No fix listed |
| redhat enterprise linux | = 9.0 | No fix listed |
| opensc project opensc | < 0.26.0 | 0.26.0 |
References
- Debian Security Tracker CVE-2024-45618 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7346-1 vendor-advisory
- USN-7346-3 vendor-advisory
- www.cve.org
- access.redhat.com vdb-entry vendor-advisory
- RHBZ#2309287 issue-tracking vendor-advisory
- lists.debian.org
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2024-41539 third-party-advisory