Buffer overflow in Opensc Project
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 class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS: 0.029 (86.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 86th percentile — 86.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.029 · newest: 0.029 · change: 0.000
Affected products
- Opensc Project
- Fedoraproject Fedora — versions 33
- Red Hat Enterprise Linux — versions 7.0
- Opensc — versions opensc 0.22.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- github.com/OpenSC/OpenSC/commit/17d8980c (Patch, Third Party Advisory)
- github.com/OpenSC/OpenSC/commit/40c50a3a (Patch, Third Party Advisory)
- github.com/OpenSC/OpenSC/commit/05648b06 (Patch, Third Party Advisory)
- github.com/OpenSC/OpenSC/commit/5d4daf6c (Patch, Third Party Advisory)
- github.com/OpenSC/OpenSC/commit/cae5c71f (Patch, Third Party Advisory)
- security.gentoo.org/glsa/202209-03 (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2023/06/msg00025.html (mailing-list)
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2021-42781?
- CVE-2021-42781 is a medium-severity vulnerability in Opensc Project, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 5.3/10. Published 2022-04-18.
- How severe is CVE-2021-42781?
- Medium severity. CVSS v3 base score is 5.3 out of 10.
- Is CVE-2021-42781 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.