CVE-2023-40661

opensc: Several memory vulnerabilities were identified within the OpenSC packages, particularly in the card enrollment proces...

CVE-2023-40661 is fixed in 4 products on 1 platform, first by ALAS2023-2023-417, released October 30, 2023. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
6.4
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0132
71st percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
opensc · Debian 12.15 (bookworm) 0.23.0-0.3+deb12u1 DEBIAN-CVE-2023-40661 Nov 6, 2023
opensc · Debian 13.5 (trixie) 0.23.0-2 DEBIAN-CVE-2023-40661 Nov 6, 2023
opensc · Debian 14 0.23.0-2 DEBIAN-CVE-2023-40661 Nov 6, 2023
opensc · RHEL 8 0:0.20.0-7.el8_9 RHSA-2023:7876 Dec 19, 2023
opensc · RHEL 9 0:0.23.0-3.el9_3 RHSA-2023:7879 Dec 19, 2023
opensc · Ubuntu 20.04 LTS (focal) 0.20.0-3ubuntu0.1~esm4 opensc 0.20.0-3ubuntu0.1~esm4 Sep 10, 2024
opensc · Ubuntu 22.04.1 LTS (jammy) 0.22.0-1ubuntu2+esm1 opensc 0.22.0-1ubuntu2+esm1 Sep 10, 2024
opensc · almalinux 8 0.20.0-7.el8_9 ALSA-2023:7876 Dec 19, 2023
opensc · almalinux 9 0.23.0-3.el9_3 ALSA-2023:7879 Dec 19, 2023
opensc · amzn 2023 0.23.0-3.amzn2023.0.2 ALAS2023-2023-417 Oct 30, 2023
opensc · ol 8 0:0.20.0-7.el8_9 ELSA-2023-7876 Dec 18, 2023
opensc · ol 9 0:0.23.0-3.el9_3 ELSA-2023-7879 Dec 19, 2023
opensc-debuginfo · amzn 2023 0.23.0-3.amzn2023.0.2 ALAS2023-2023-417 Oct 30, 2023
opensc-debugsource · amzn 2023 0.23.0-3.amzn2023.0.2 ALAS2023-2023-417 Oct 30, 2023
opensc-pkcs11 · Ubuntu 20.04 LTS (focal) 0.20.0-3ubuntu0.1~esm4 opensc-pkcs11 0.20.0-3ubuntu0.1~esm4 Sep 10, 2024
opensc-pkcs11 · Ubuntu 22.04.1 LTS (jammy) 0.22.0-1ubuntu2+esm1 opensc-pkcs11 0.22.0-1ubuntu2+esm1 Sep 10, 2024

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.