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 (69.5th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 70th percentile — 69.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.012 · newest: 0.013 · change: +0.001
Affected products
- Opensc Project
- 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
- 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)
- 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.