Vulnerability Details : CVE-2021-42781
Heap buffer overflow issues were found in Opensc before version 0.22.0 in pkcs15-oberthur.c that could potentially crash programs using the library.
Vulnerability category: OverflowMemory Corruption
Products affected by CVE-2021-42781
- 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-42781
0.32%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 70 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-42781
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-42781
-
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.Assigned by: secalert@redhat.com (Secondary)
-
The product writes data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-42781
-
https://lists.debian.org/debian-lts-announce/2023/06/msg00025.html
[SECURITY] [DLA 3463-1] opensc security update
-
https://github.com/OpenSC/OpenSC/commit/17d8980c
oberthur: Avoid two buffer overflows · OpenSC/OpenSC@17d8980 · GitHubPatch;Third Party Advisory
-
https://github.com/OpenSC/OpenSC/commit/05648b06
oberthur: fixed Heap-buffer-overflow · OpenSC/OpenSC@05648b0 · GitHubPatch;Third Party Advisory
-
https://github.com/OpenSC/OpenSC/commit/40c50a3a
oberthur: Handle more memory issues during initialization · OpenSC/OpenSC@40c50a3 · GitHubPatch;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=2016439
2016439 – (CVE-2021-42781) CVE-2021-42781 opensc: Heap buffer overflow in pkcs15-oberthur.cIssue Tracking;Patch;Third Party Advisory
-
https://github.com/OpenSC/OpenSC/commit/5d4daf6c
oberthur: One more overlooked buffer overflow · OpenSC/OpenSC@5d4daf6 · GitHubPatch;Third Party Advisory
-
https://github.com/OpenSC/OpenSC/commit/cae5c71f
oberthur: Handle 1B OIDs · OpenSC/OpenSC@cae5c71 · GitHubPatch;Third Party Advisory
Jump to