Vulnerability Details : CVE-2021-42780
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.
Products affected by CVE-2021-42780
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
- cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-42780
0.15%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 52 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-42780
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:N/A:P |
10.0
|
2.9
|
NIST | |
5.3
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
3.9
|
1.4
|
NIST |
CWE ids for CVE-2021-42780
-
The product does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions.Assigned by:
- nvd@nist.gov (Primary)
- secalert@redhat.com (Secondary)
References for CVE-2021-42780
-
https://lists.debian.org/debian-lts-announce/2023/06/msg00025.html
[SECURITY] [DLA 3463-1] opensc security update
-
https://github.com/OpenSC/OpenSC/commit/5df913b7
tcos: Check bounds in insert_pin() · OpenSC/OpenSC@5df913b · GitHubPatch;Third Party Advisory
-
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28383
28383 - opensc:fuzz_pkcs15_reader: Stack-use-after-return in insert_pin - oss-fuzzIssue Tracking;Mailing List;Patch;Third Party Advisory
-
https://security.gentoo.org/glsa/202209-03
OpenSC: Multiple Vulnerabilities (GLSA 202209-03) — Gentoo securityThird Party Advisory
-
https://bugzilla.redhat.com/show_bug.cgi?id=2016139
2016139 – (CVE-2021-42780) CVE-2021-42780 opensc: Use after return in insert_pin functionIssue Tracking;Patch;Third Party Advisory
Jump to