Use of uninitialized resource in OpenSC - CVE-2024-45618

 

Use of uninitialized resource in OpenSC - CVE-2024-45618

Published: October 14, 2024


Vulnerability identifier: #VU98504
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:P/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-45618
CWE-ID: CWE-908
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: OpenSC
Affected software:
OpenSC

Detailed vulnerability description

The vulnerability allows an attacker to bypass certain security restrictions.

The vulnerability exists due to usage of uninitialized resources in pkcs15-init in OpenSC. An attacker with physical access to the system can use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.


How to mitigate CVE-2024-45618

Install updates from vendor's website.

Sources