CVE-2023-40661
MEDIUM EPSS 63.6%
Published Nov 6, 20232y ago · Modified Jun 17, 20262w ago
6.4 CVSS 3.1
Published Nov 6, 2023 2y ago
Last Modified Jun 17, 2026 2w ago
Description
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H Attack Vector Physical
Attack Complexity Low
Privileges Required Low
User Interaction Required
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
EPSS Exploit Probability
63.6% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available
Weaknesses 1
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer Memory Safety
Affected Products 3
| Vendor | Product | Version | Range |
|---|---|---|---|
| opensc_project | opensc | * | ≤0.23.0 |
| redhat | enterprise_linux | 8.0 | any |
| redhat | enterprise_linux | 9.0 | any |
References 12
- openwall.com http://www.openwall.com/lists/oss-security/2023/12/13/3
- access.redhat.com https://access.redhat.com/errata/RHSA-2023:7876
- access.redhat.com https://access.redhat.com/errata/RHSA-2023:7879
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-40661
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2240913
- github.com https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651
- github.com https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1
- github.com https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories
- lists.debian.org https://lists.debian.org/debian-lts-announce/2023/11/msg00024.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3CPQOMCDWFRBMEFR5VK4N5MMXXU42ODE/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GLYEFIBBA37TK3UNMZN5NOJ7IWCIXLQP/
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.