Vulnerability · Published Nov 6, 2023 · Assigned by redhat
CVE-2023-4535Opensc: out-of-bounds read in myeid driver handling encryption using symmetric keys
Medium 4.5
In plain English
A medium-severity out-of-bounds read in Red Hat Enterprise Linux 7 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | opensc | 0.23.0-3.el9_3 | ALSA-2023:7879 |
| Alpine:v3.20 | opensc | 0.24.0-r0 | ALPINE-CVE-2023-4535 |
| Alpine:v3.21 | opensc | 0.24.0-r0 | ALPINE-CVE-2023-4535 |
| Alpine:v3.22 | opensc | 0.24.0-r0 | ALPINE-CVE-2023-4535 |
| Alpine:v3.23 | opensc | 0.24.0-r0 | ALPINE-CVE-2023-4535 |
| Alpine:v3.24 | opensc | 0.24.0-r0 | ALPINE-CVE-2023-4535 |
| Debian:12 | opensc | 0.23.0-0.3+deb12u1 | DEBIAN-CVE-2023-4535 |
| Debian:13 | opensc | 0.23.0-2 | DEBIAN-CVE-2023-4535 |
| Debian:14 | opensc | 0.23.0-2 | DEBIAN-CVE-2023-4535 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
Weakness: CWE-125 · Vector: CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L
References
- RHSA-2023:7879 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-4535 vdb-entry, x_refsource_REDHAT
- RHBZ#2240914 issue-tracking, x_refsource_REDHAT
- https://github.com/OpenSC/OpenSC/commit/f1993dc4e0b33050b8f72a3558ee88b24c4063b2
- https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651
- https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1
- https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3CPQOMCDWFRBMEFR5VK4N5MMXXU42ODE/ x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GLYEFIBBA37TK3UNMZN5NOJ7IWCIXLQP/ x_transferred