CVE-2021-42778: Double Free
A heap double free issue was found in Opensc before version 0.22.0 in scpkcs15freetokeninfo.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/openscto a version that resolves this vulnerability.Fixed in 0.22.0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 0.22.0
Event History
Frequently Asked Questions
What is CVE-2021-42778?
CVE-2021-42778 is a heap double free vulnerability found in Opensc before version 0.22.0 in sc_pkcs15_free_tokeninfo.
What is the severity of CVE-2021-42778?
The severity of CVE-2021-42778 is medium with a CVSS score of 5.3.
Which software versions are affected by CVE-2021-42778?
Opensc versions before 0.22.0, Fedora 33, Redhat Enterprise Linux 7.0, Redhat Enterprise Linux 8.0, and redhat/opensc up to version 0.22.0 are affected by CVE-2021-42778.
How does CVE-2021-42778 impact the affected software?
CVE-2021-42778 allows an attacker to cause a denial of service or possibly execute arbitrary code by exploiting the heap double free issue in Opensc.
How can I fix CVE-2021-42778?
Update to OpenSc version 0.22.0 or later to fix CVE-2021-42778.