CVE-2021-42780: Medium severity Opensc Project Opensc vulnerability
A use after return issue was found in Opensc before version 0.22.0 in insertpin function that could potentially crash programs using the library.
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
debian/openscto a version that resolves this vulnerability.Fixed in 0.21.0-1+deb11u1Fixed in 0.23.0-0.3+deb12u2Fixed in 0.26.1-1 - Upgrade
Upgrade
OpenSC/OpenSCto a version that resolves this vulnerability.Fixed in 0.22.0
Event History
Frequently Asked Questions
What is CVE-2021-42780?
CVE-2021-42780 is a vulnerability in Opensc before version 0.22.0 that could potentially crash programs using the library.
How severe is CVE-2021-42780?
CVE-2021-42780 has a severity score of 5.3, which is considered medium.
What is the affected software for CVE-2021-42780?
The affected software includes Opensc before version 0.22.0, Fedora 33, Red Hat Enterprise Linux 7.0, and the redhat/opensc package.
How can I fix CVE-2021-42780?
To fix CVE-2021-42780, you should update Opensc to version 0.22.0 or later.
Where can I find more information about CVE-2021-42780?
You can find more information about CVE-2021-42780 in the referenced links: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28383, https://bugzilla.redhat.com/show_bug.cgi?id=2016139, and https://github.com/OpenSC/OpenSC/commit/5df913b7.