CVE-2021-42778
MEDIUMCVSS 5.3/10EPSS 2.03%
Last modified
CVE-2021-42778 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. A heap double free issue was found in Opensc before version 0.22.0 in sc_pkcs15_free_tokeninfo.. EPSS estimates a 2.03% chance of exploitation in the next 30 days.
Description
A heap double free issue was found in Opensc before version 0.22.0 in sc_pkcs15_free_tokeninfo.
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 |
| Redhat | Enterprise Linux | 8.0 |
References
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28185Issue Tracking, Mailing List, Patch, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2016083Issue Tracking, Patch, Third Party Advisory
- https://github.com/OpenSC/OpenSC/commit/f015746dPatch, Third Party Advisory
- https://security.gentoo.org/glsa/202209-03Third Party Advisory
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28185Issue Tracking, Mailing List, Patch, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2016083Issue Tracking, Patch, Third Party Advisory
- https://github.com/OpenSC/OpenSC/commit/f015746dPatch, 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-42778?
A heap double free issue was found in Opensc before version 0.22.0 in sc_pkcs15_free_tokeninfo.
How severe is CVE-2021-42778?
CVE-2021-42778 has a CVSS score of 5.3/10 (MEDIUM severity). The EPSS model estimates a 2.03% probability of exploitation in the next 30 days.
How do I fix CVE-2021-42778?
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-42772Broadcom Emulex HBA Manager/One Command Manager versions bef…9.8
- CVE-2021-42773Broadcom Emulex HBA Manager/One Command Manager versions bef…7.5
- CVE-2021-42774Broadcom Emulex HBA Manager/One Command Manager versions bef…9.8
- CVE-2021-42775Broadcom Emulex HBA Manager/One Command Manager versions bef…9.1
- 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-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-42781Heap buffer overflow issues were found in Opensc before vers…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
Are you affected by CVE-2021-42778?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
