CVE-2024-8443 Libopensc: heap buffer overflow in openpgp driver when generating key
LowCVSS 2.9
EPSS 0.35%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
Description
A heap-based buffer overflow vulnerability was found in the libopensc OpenPGP driver. A crafted USB device or smart card with malicious responses to the APDUs during the card enrollment process using the pkcs15-init tool may lead to out-of-bound rights, possibly resulting in arbitrary code execution.
Upgrade path
13 packages: 10 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| opensc project opensc | 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 | >= 0.26.0, < 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 |
| opensc | >= 0.26.0, < 0.26.0 | 0.26.0 |
| 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 |
| opensc project opensc | All versions | 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 |
References
- Debian Security Tracker CVE-2024-8443 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#2310494 issue-tracking vendor-advisory
- lists.debian.org
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2024-49628 third-party-advisory