cbcvebase.
CVE-2023-40661
published 2023-11-06

CVE-2023-40661: Several memory vulnerabilities were identified within the OpenSC packages, particularly in the card enrollment process using pkcs15-init when a user or…

medium6.4CVSS 3.1
AVPACLPRLUIRSUCHIHAH
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

21 ranges
VendorProductVersion rangeFixed in
debianopensc< opensc 0.23.0-0.3+deb12u1 (bookworm)opensc 0.23.0-0.3+deb12u1 (bookworm)
msrcazl3_opensc_0.23.0-1_on_azure_linux_3.0
msrcazl3_opensc_0.25.1-3_on_azure_linux_3.0
msrcazure_linux_3.0_arm
msrcazure_linux_3.0_x64
opensc_projectopensc<= 0.23.0
opensc_projectopensc>= 0 < 0.21.0-1+deb11u10.21.0-1+deb11u1
opensc_projectopensc>= 0 < 0.23.0-0.3+deb12u10.23.0-0.3+deb12u1
opensc_projectopensc>= 0 < 0.23.0-20.23.0-2
opensc_projectopensc>= 0 < 0.23.0-20.23.0-2
opensc_projectopensc>= 0 < 0.15.0-1ubuntu1+esm30.15.0-1ubuntu1+esm3
opensc_projectopensc>= 0 < 0.15.0-1ubuntu1+esm20.15.0-1ubuntu1+esm2
opensc_projectopensc>= 0 < 0.17.0-3ubuntu0.1~esm30.17.0-3ubuntu0.1~esm3
opensc_projectopensc>= 0 < 0.17.0-3ubuntu0.1~esm20.17.0-3ubuntu0.1~esm2
opensc_projectopensc>= 0 < 0.20.0-3ubuntu0.1~esm30.20.0-3ubuntu0.1~esm3
opensc_projectopensc>= 0 < 0.20.0-3ubuntu0.1~esm40.20.0-3ubuntu0.1~esm4
opensc_projectopensc>= 0 < 0.20.0-3ubuntu0.1~esm20.20.0-3ubuntu0.1~esm2
opensc_projectopensc>= 0 < 0.22.0-1ubuntu2+esm10.22.0-1ubuntu2+esm1
opensc_projectopensc>= 0 < 0.25.0~rc1-1ubuntu0.1~esm10.25.0~rc1-1ubuntu0.1~esm1
redhatenterprise_linux
redhatenterprise_linux

CVSS provenance

nvdv3.16.4MEDIUMCVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
osv6.4MEDIUM