Out-of-bounds read in OpenSC - CVE-2023-4535

 

Out-of-bounds read in OpenSC - CVE-2023-4535

Published: November 10, 2023


Vulnerability identifier: #VU82975
CSH Severity: Low
CVSS v4: 2.4 [CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-4535
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition within the MyEID driver when handling symmetric key encryption. An attacker with physical access to the system can use a specially crafted USB device to trigger an out-of-bounds read error and gain access to potentially sensitive information.


Affected software

OpenSC
Gentoo Linux
Amazon Linux AMI
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Fedora
opensc
opensc (Red Hat package)
dev-libs/opensc

How to mitigate CVE-2023-4535

Install updates from vendor's website.

OpenSC - update to 0.24.0 rc1
opensc - update to 0.23.0-3
opensc (Red Hat package) - update to 0.23.0-3.el9_3
dev-libs/opensc - update to 0.24.0
opensc - addressed in versions 0.24.0-1.fc38, 0.24.0-1.fc39

External References

Related Security Bulletins