CVE-2023-40661

MEDIUM EPSS 63.6%
Published Nov 6, 20232y ago · Modified Jun 17, 20262w ago
6.4 CVSS 3.1
Medium
Find Similar
Published Nov 6, 2023 2y ago
Last Modified Jun 17, 2026 2w ago

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 Details

Base Score
6.4
Exploitability
0.5
Impact
5.9
Vector string
CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Attack Vector Physical
Attack Complexity Low
Privileges Required Low
User Interaction Required
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
63.6% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available

Weaknesses 1

CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer Memory Safety

Affected Products 3

VendorProductVersionRange
opensc_projectopensc* ≤0.23.0
redhatenterprise_linux8.0any
redhatenterprise_linux9.0any

References 12

  • openwall.com http://www.openwall.com/lists/oss-security/2023/12/13/3
  • access.redhat.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
  • bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2240913
    Issue Tracking
  • github.com https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651
    VDB Entry
  • github.com https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1
    Release Notes
  • github.com https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories
    Vendor Advisory
  • lists.debian.org 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.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3CPQOMCDWFRBMEFR5VK4N5MMXXU42ODE/
  • lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GLYEFIBBA37TK3UNMZN5NOJ7IWCIXLQP/

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.