CVE-2023-4535
Opensc: out-of-bounds read in myeid driver handling encryption using symmetric keys
An out-of-bounds read vulnerability was found in OpenSC packages within the MyEID driver when handling symmetric key encryption. Exploiting this flaw requires an attacker to have physical access to the computer and a specially crafted USB device or smart card. This flaw allows the attacker to manipulate APDU responses and potentially gain unauthorized access to sensitive data, compromising the system's security.
Fixes and workarounds
Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: [email protected]Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: [email protected]Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: af854a3a-2127-422b-91ae-364da2661108Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: af854a3a-2127-422b-91ae-364da2661108Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| 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: unaffected |
CNA: redhat |
| Red Hat Enterprise Linux 8 Red Hat opensc
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unaffected |
CNA: redhat |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
NVD applicability configurations (2)
These expressions retain AND/OR operators, negation, and required environmental products. A listed product is not sufficient to establish exposure when additional conditions apply.
[
{
"negate": false,
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:opensc_project:opensc:0.23.0:-:*:*:*:*:*:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:opensc_project:opensc:0.23.0:rc1:*:*:*:*:*:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:opensc_project:opensc:0.23.0:rc2:*:*:*:*:*:*",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "OR"
},
{
"negate": false,
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "OR"
}
]CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 4.5 medium |
CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L | CNA: redhat |
| 3.1 / 3.8 low |
CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L | NVD: [email protected] |
| 3.1 / 4.5 medium |
CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L | NVD: [email protected] |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://access.redhat.com/errata/RHSA-2023:7879CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-4535CNA: redhat · vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2240914CNA: redhat · issue-tracking, x_refsource_REDHAT
- https://github.com/OpenSC/OpenSC/commit/f1993dc4e0b33050b8f72a3558ee88b24c4063b2CNA: 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
- https://access.redhat.com/errata/RHSA-2023:7879ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/security/cve/CVE-2023-4535ADP: CVE · vdb-entry, x_refsource_REDHAT, x_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=2240914ADP: CVE · issue-tracking, x_refsource_REDHAT, x_transferred
- https://github.com/OpenSC/OpenSC/commit/f1993dc4e0b33050b8f72a3558ee88b24c4063b2ADP: CVE · 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.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://access.redhat.com/errata/RHSA-2023:7879[email protected] · Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2023-4535[email protected] · Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2240914[email protected] · Issue Tracking
- https://github.com/OpenSC/OpenSC/commit/f1993dc4e0b33050b8f72a3558ee88b24c4063b2[email protected] · Patch
- https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651[email protected] · Issue Tracking, Patch
- https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1[email protected] · Release Notes
- https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories[email protected] · Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:7879af854a3a-2127-422b-91ae-364da2661108 · Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2023-4535af854a3a-2127-422b-91ae-364da2661108 · Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2240914af854a3a-2127-422b-91ae-364da2661108 · Issue Tracking
- https://github.com/OpenSC/OpenSC/commit/f1993dc4e0b33050b8f72a3558ee88b24c4063b2af854a3a-2127-422b-91ae-364da2661108 · Patch
- https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651af854a3a-2127-422b-91ae-364da2661108 · Issue Tracking, Patch
- https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1af854a3a-2127-422b-91ae-364da2661108 · Release Notes
- https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisoriesaf854a3a-2127-422b-91ae-364da2661108 · Vendor Advisory
- https://lists.fedoraproject.org/archives/list/[email protected]/message/3CPQOMCDWFRBMEFR5VK4N5MMXXU42ODE/af854a3a-2127-422b-91ae-364da2661108
- https://lists.fedoraproject.org/archives/list/[email protected]/message/GLYEFIBBA37TK3UNMZN5NOJ7IWCIXLQP/af854a3a-2127-422b-91ae-364da2661108
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.