CVE-2021-42779: Use After Free
A heap use after free issue was found in Opensc before version 0.22.0 in scfilevalid.
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 the severity of CVE-2021-42779?
The severity of CVE-2021-42779 is medium with a CVSS score of 5.3.
What is the affected software for CVE-2021-42779?
The affected software for CVE-2021-42779 includes Opensc before version 0.22.0, Fedoraproject Fedora 33, Redhat Enterprise Linux 7.0, Redhat Enterprise Linux 8.0, and redhat/opensc with version up to exclusive 0.22.0.
How can I fix CVE-2021-42779?
To fix CVE-2021-42779, it is recommended to update Opensc to version 0.22.0 or higher.
What is the Common Weakness Enumeration (CWE) ID for CVE-2021-42779?
The Common Weakness Enumeration (CWE) ID for CVE-2021-42779 is CWE-416.
Where can I find more information about CVE-2021-42779?
More information about CVE-2021-42779 can be found at the following references: [Reference 1](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28843), [Reference 2](https://bugzilla.redhat.com/show_bug.cgi?id=2016086), [Reference 3](https://github.com/OpenSC/OpenSC/commit/1db88374).