CVE-2021-42781
MEDIUMCVSS 5.3/10EPSS 2.73%
Last modified
CVE-2021-42781 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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.. EPSS estimates a 2.73% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Opensc Project | Opensc | < 0.22.0 |
| Fedoraproject | Fedora | 33 |
| Redhat | Enterprise Linux | 7.0 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2016439Issue Tracking, Patch, Third Party Advisory
- https://github.com/OpenSC/OpenSC/commit/05648b06Patch, Third Party Advisory
- https://github.com/OpenSC/OpenSC/commit/17d8980cPatch, Third Party Advisory
- https://github.com/OpenSC/OpenSC/commit/40c50a3aPatch, Third Party Advisory
- https://github.com/OpenSC/OpenSC/commit/5d4daf6cPatch, Third Party Advisory
- https://github.com/OpenSC/OpenSC/commit/cae5c71fPatch, Third Party Advisory
- https://security.gentoo.org/glsa/202209-03Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2016439Issue Tracking, Patch, Third Party Advisory
- https://github.com/OpenSC/OpenSC/commit/05648b06Patch, Third Party Advisory
- https://github.com/OpenSC/OpenSC/commit/17d8980cPatch, Third Party Advisory
- https://github.com/OpenSC/OpenSC/commit/40c50a3aPatch, Third Party Advisory
- https://github.com/OpenSC/OpenSC/commit/5d4daf6cPatch, Third Party Advisory
- https://github.com/OpenSC/OpenSC/commit/cae5c71fPatch, Third Party Advisory
- https://security.gentoo.org/glsa/202209-03Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is 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.
How severe is CVE-2021-42781?
CVE-2021-42781 has a CVSS score of 5.3/10 (MEDIUM severity). The EPSS model estimates a 2.73% probability of exploitation in the next 30 days.
How do I fix CVE-2021-42781?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2021-42781?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
