Vulnerability Details : CVE-2021-42779
A heap use after free issue was found in Opensc before version 0.22.0 in sc_file_valid.
Vulnerability category: Memory Corruption
Products affected by CVE-2021-42779
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
- cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-42779
0.21%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 59 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-42779
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-42779
-
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.Assigned by:
- nvd@nist.gov (Primary)
- secalert@redhat.com (Secondary)
References for CVE-2021-42779
-
https://github.com/OpenSC/OpenSC/commit/1db88374
oberthur: Correctly check for return values · OpenSC/OpenSC@1db8837 · GitHubPatch;Third Party Advisory
-
https://lists.debian.org/debian-lts-announce/2023/06/msg00025.html
[SECURITY] [DLA 3463-1] opensc security update
-
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28843
28843 - opensc:fuzz_pkcs15_reader: Heap-use-after-free in sc_file_valid - 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=2016086
2016086 – (CVE-2021-42779) CVE-2021-42779 opensc: Heap use after free in sc_file_validIssue Tracking;Patch;Third Party Advisory
Jump to