CVE-2023-4535

NameCVE-2023-4535
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1055520

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
opensc (PTS)jessie, jessie (lts)0.16.0-3+deb8u3vulnerable
stretch (security), stretch (lts), stretch0.16.0-3+deb9u2vulnerable
buster0.19.0-1+deb10u1fixed
buster (security)0.19.0-1+deb10u3fixed
bullseye0.21.0-1fixed
bookworm0.23.0-0.3+deb12u1fixed
sid, trixie0.25.0~rc1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
openscsourcejessie(unfixed)end-of-life
openscsourcestretch(unfixed)end-of-life
openscsourcebuster(not affected)
openscsourcebullseye(not affected)
openscsourcebookworm0.23.0-0.3+deb12u1
openscsource(unstable)0.23.0-21055520

Notes

[bullseye] - opensc <not-affected> (vulnerable code introduced later)
[buster] - opensc <not-affected> (vulnerable code introduced later)
https://github.com/OpenSC/OpenSC/wiki/CVE-2023-4535
Fixed by: https://github.com/OpenSC/OpenSC/commit/f1993dc4e0b33050b8f72a3558ee88b24c4063b2 (0.24.0-rc1)
Introduced by: https://github.com/OpenSC/OpenSC/commit/c852236e8368b47b38d89b1b7fb2dbd78753e109 (0.23.0-rc1)

Search for package or bug name: Reporting problems