Unchecked Return Value in OpenSC - CVE-2021-42780

 

Unchecked Return Value in OpenSC - CVE-2021-42780

Published: August 5, 2022 / Updated: August 5, 2022


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

Detailed vulnerability description

The vulnerability allows an attacker with physical access to perform denial of service attacks.

The vulnerability exists due to use after return issue in insert_pin() function in  Opensc. An attacker with physical access can trigger the vulnerability to perform denial of service attacks.


How to mitigate CVE-2021-42780

Install updates from vendor's website.

Sources