CVE-2023-40660
Opensc: potential pin bypass when card tracks its own login state
A flaw was found in OpenSC packages that allow a potential PIN bypass. When a token/card is authenticated by one process, it can perform cryptographic operations in other processes when an empty zero-length pin is passed. This issue poses a security risk, particularly for OS logon/screen unlock and for small, permanently connected tokens to computers. Additionally, the token can internally track login status. This flaw allows an attacker to gain unauthorized access, carry out malicious actions, or compromise the system without the user's awareness.
Fixes and workarounds
No remediation reported in collected sources.
Missing remediation information is not evidence that no patch exists.
Affected products and versions
| Product | Versions | Authority |
|---|---|---|
OpenSC
https://github.com/OpenSC/OpenSC |
≥ 0.17.0; < 0.24.0 (affected, semver)
Other versions: unaffected |
CNA: redhat |
| Red Hat Enterprise Linux 8 Red Hat opensc
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:0.20.0-7.el8_9; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9 Red Hat opensc
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:0.23.0-3.el9_3; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 7 Red Hat opensc
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unknown |
CNA: redhat |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 6.6 medium |
CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | CNA: redhat |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://access.redhat.com/errata/RHSA-2023:7876CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2023:7879CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-40660CNA: redhat · vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2240912CNA: redhat · issue-tracking, x_refsource_REDHAT
- https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651CNA: redhat
- https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1CNA: redhat
- https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisoriesCNA: redhat
- http://www.openwall.com/lists/oss-security/2023/12/13/2ADP: CVE · x_transferred
- https://access.redhat.com/errata/RHSA-2023:7876ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/errata/RHSA-2023:7879ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/security/cve/CVE-2023-40660ADP: CVE · vdb-entry, x_refsource_REDHAT, x_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=2240912ADP: CVE · issue-tracking, x_refsource_REDHAT, x_transferred
- https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651ADP: CVE · x_transferred
- https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1ADP: CVE · x_transferred
- https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisoriesADP: CVE · x_transferred
- https://lists.debian.org/debian-lts-announce/2023/11/msg00024.htmlADP: CVE · x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/3CPQOMCDWFRBMEFR5VK4N5MMXXU42ODE/ADP: CVE · x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/GLYEFIBBA37TK3UNMZN5NOJ7IWCIXLQP/ADP: CVE · x_transferred
- https://lists.debian.org/debian-lts-announce/2024/12/msg00026.htmlADP: CVE
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.