CVEvulnerability
CVE-2023-40661
6.4 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2023-11-06
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.4 MEDIUM — CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
- CVSS 3.1 ([email protected])
- 6.4 MEDIUM — CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-119
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.
Affected configurations
• opensc project opensc (<= 0.23.0)
• redhat enterprise linux 8.0
• redhat enterprise linux 9.0
Related
Weakness · CWE (1)
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness
References
- 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 Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2240913 Issue Tracking
- https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651 VDB Entry
- https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1 Release Notes
- https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories Vendor Advisory
- http://www.openwall.com/lists/oss-security/2023/12/13/3 www.openwall.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 Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2240913 Issue Tracking
- https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651 VDB Entry
- https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1 Release Notes
- https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories Vendor Advisory
- 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.debian.org
- https://lists.fedoraproject.org/archives/list/[email protected]/message/3CPQOMCDWFRBMEFR5VK4N5MMXXU42ODE/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/[email protected]/message/GLYEFIBBA37TK3UNMZN5NOJ7IWCIXLQP/ lists.fedoraproject.org