Buffer overflow in Opensc Project
CVE-2023-40661
Several memory vulnerabilities were identified within the OpenSC packages, particularly in the card enrollment process using pkcs15-init when a user or administrator enrolls cards. To take advantage of these flaws, an attacker must have physical access to the computer system and employ a custom-crafted USB device or smart card to manipulate responses to APDUs. This manipulation can potentially allow
compromise key generation, certificate loading, and other card management operations during enrollment.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H.
EPSS exploit prediction
EPSS 0.013, 71.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Opensc Project
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux — versions 8.0, 9.0
Weakness classification (CWE)
References
- access.redhat.com/errata/RHSA-2023:7876 (vendor-advisory)
- access.redhat.com/errata/RHSA-2023:7879 (vendor-advisory)
- access.redhat.com/security/cve/CVE-2023-40661 (Third Party Advisory, vdb-entry)
- bugzilla.redhat.com/show_bug.cgi (issue-tracking, Issue Tracking)
- github.com/OpenSC/OpenSC/issues/2792 (VDB Entry)
- github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1 (Release Notes)
- github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories (Vendor Advisory)
- www.openwall.com/lists/oss-security/2023/12/13/3
- lists.debian.org/debian-lts-announce/2023/11/msg00024.html
- lists.debian.org/debian-lts-announce/2024/12/msg00026.html