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.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-42776CloverDX Server before 5.11.2 and and 5.12.x before 5.12.1 a…7.7
- CVE-2021-42777Stimulsoft (aka Stimulsoft Reports) 2013.1.1600.0, when Comp…9.8
- CVE-2021-42778A heap double free issue was found in Opensc before version …5.3
- CVE-2021-42779A heap use after free issue was found in Opensc before versi…5.3
- CVE-2021-4278A vulnerability classified as problematic has been found in …7.8
- CVE-2021-42780A use after return issue was found in Opensc before version …5.3
- CVE-2021-42782Stack buffer overflow issues were found in Opensc before ver…5.3
- CVE-2021-42783Missing Authentication for Critical Function vulnerability i…9.8
- CVE-2021-42784OS Command Injection vulnerability in debug_fcgi of D-Link D…9.8
- CVE-2021-42785Buffer Overflow vulnerability in tvnviewer.exe of TightVNC V…9.8
- CVE-2021-42786It was discovered that the SteelCentral AppInternals Dynamic…9.8
- CVE-2021-42787It was discovered that the SteelCentral AppInternals Dynamic…9.8
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
