CVE-2023-4535 Opensc: out-of-bounds read in myeid driver handling encryption using symmetric keys

Medium 4.5 Published Updated

An attacker with physical access can exploit an out-of-bounds read in the OpenSC MyEID driver to access sensitive data via a crafted smart card.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-4535?

CVE-2023-4535 is a medium-severity vulnerability in Fedoraproject Fedora, published on 6 Nov 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

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.

Weakness: CWE-125

Which versions are affected by CVE-2023-4535?

It affects 3 products.

Products include Fedoraproject Fedora, Opensc Project Opensc, Redhat Enterprise Linux.

How do I fix CVE-2023-4535?

Apply the vendor's patch.

Is CVE-2023-4535 being exploited?

There is no known exploitation of CVE-2023-4535 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as AZL-31945, AZL-35076, DEBIAN-CVE-2023-4535, GHSA-phh2-j3h6-vqr9.

Is CVE-2023-4535 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free