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
EPSS: 0.012 (64.3th percentile) — read the EPSS interpretation.
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.
Affected products
- Opensc_project Opensc
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8 — versions 0:0.20.0-7.el8_9
- Red Hat Enterprise Linux 9 — versions 0:0.23.0-3.el9_3
- Redhat Enterprise_linux — versions 8.0, 9.0
Weakness classification (CWE)
References
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory)
- secalert@redhat.com (x_refsource_REDHAT, Third Party Advisory, vdb-entry)
- secalert@redhat.com (x_refsource_REDHAT, issue-tracking, Issue Tracking)
- secalert@redhat.com (VDB Entry)
- secalert@redhat.com (Release Notes)
- secalert@redhat.com (Vendor Advisory)
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2023-40661?
- CVE-2023-40661 is a medium-severity vulnerability in Opensc Project, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 5.4/10. Published 2023-11-06.
- How severe is CVE-2023-40661?
- Medium severity. CVSS v3 base score is 5.4 out of 10.