CVE-2023-40661

Name
CVE-2023-40661
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1
MISC https://bugzilla.redhat.com/show_bug.cgi?id=2240913
MISC https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories
MISC https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651
MISC https://access.redhat.com/security/cve/CVE-2023-40661
secalert@redhat.com http://www.openwall.com/lists/oss-security/2023/12/13/3
secalert@redhat.com https://lists.debian.org/debian-lts-announce/2023/11/msg00024.html
secalert@redhat.com https://access.redhat.com/errata/RHSA-2023:7876
secalert@redhat.com https://access.redhat.com/errata/RHSA-2023:7879
secalert@redhat.com https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GLYEFIBBA37TK3UNMZN5NOJ7IWCIXLQP/
secalert@redhat.com https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3CPQOMCDWFRBMEFR5VK4N5MMXXU42ODE/

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:* opensc >= None <= 0.23.0

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
opensc 3.18-community 0.23.0-r0 Timo Teräs <timo.teras@iki.fi> possibly vulnerable
opensc 3.19-community 0.24.0-r0 Timo Teräs <timo.teras@iki.fi> fixed