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, 87.0th percentile (last changed ); unchanged over 30 days. About EPSS.
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 exploits and proof-of-concept code
Also mentioned in 1 other repository (takaaki-fukunaga/cvechecker). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
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)
- GLSA-202209-03 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20230621 [SECURITY] [DLA 3463-1] opensc security update (mailing-list)
- lists.debian.org/debian-lts-announce/2024/12/msg00026.html