#VU77320 Out-of-bounds read in OpenSC - CVE-2023-2977

 

#VU77320 Out-of-bounds read in OpenSC - CVE-2023-2977

Published: June 14, 2023


Vulnerability identifier: #VU77320
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2023-2977
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability: No public exploit available
Vulnerable software:
OpenSC
Software vendor:
OpenSC

Description

The vulnerability allows a local user to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition within the cardos_have_verifyrc_package() function in pkcs15 cardos_have_verifyrc_package. A local user can pass a smart card package with malformed ASN1 context to the application, trigger an out-of-bounds read error and read contents of memory on the system.


Remediation

Install updates from vendor's website.

External links