CVE Vulnerabilities

CVE-2021-42780

Unchecked Return Value

Published: Apr 18, 2022 | Modified: Jun 21, 2023
CVSS 3.x
5.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
2 LOW
CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Ubuntu
MEDIUM

A use after return issue was found in Opensc before version 0.22.0 in insert_pin function that could potentially crash programs using the library.

Weakness

The product does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions.

Affected Software

Name Vendor Start Version End Version
Opensc Opensc_project * 0.22.0 (excluding)
Opensc Ubuntu bionic *
Opensc Ubuntu hirsute *
Opensc Ubuntu impish *
Opensc Ubuntu kinetic *
Opensc Ubuntu lunar *
Opensc Ubuntu mantic *
Opensc Ubuntu trusty *
Opensc Ubuntu xenial *

Potential Mitigations

References