Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Opensc Project | Opensc | <= 0.23.0 |
| Redhat | Enterprise Linux | 8.0 |
Related Weaknesses (CWE)
References
- https://access.redhat.com/errata/RHSA-2023:7876
- https://access.redhat.com/errata/RHSA-2023:7879
- https://access.redhat.com/security/cve/CVE-2023-40661Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2240913Issue Tracking
- https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651VDB Entry
- https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1Release Notes
- https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisoriesVendor Advisory
- http://www.openwall.com/lists/oss-security/2023/12/13/3
- https://access.redhat.com/errata/RHSA-2023:7876
- https://access.redhat.com/errata/RHSA-2023:7879
- https://access.redhat.com/security/cve/CVE-2023-40661Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2240913Issue Tracking
- https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651VDB Entry
- https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1Release Notes
- https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisoriesVendor Advisory
FAQ
What is CVE-2023-40661?
CVE-2023-40661 is a vulnerability with a CVSS score of 5.4 (MEDIUM). 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 o...
How severe is CVE-2023-40661?
CVE-2023-40661 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-40661?
Check the references section above for vendor advisories and patch information. Affected products include: Opensc Project Opensc, Redhat Enterprise Linux.