Name | CVE-2021-42778 |
Description | A heap double free issue was found in Opensc before version 0.22.0 in sc_pkcs15_free_tokeninfo. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
opensc (PTS) | jessie, jessie (lts) | 0.16.0-3+deb8u3 | vulnerable |
| stretch (security), stretch (lts), stretch | 0.16.0-3+deb9u2 | fixed |
| buster (security), buster, buster (lts) | 0.19.0-1+deb10u3 | fixed |
| bullseye | 0.21.0-1 | vulnerable |
| bookworm | 0.23.0-0.3+deb12u1 | fixed |
| sid, trixie | 0.25.1-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
opensc | source | jessie | (unfixed) | end-of-life | | |
opensc | source | stretch | (not affected) | | | |
opensc | source | buster | (not affected) | | | |
opensc | source | (unstable) | 0.22.0-1 | | | |
Notes
[bullseye] - opensc <no-dsa> (Minor issue)
[buster] - opensc <not-affected> (Vulnerable code introduced later)
[stretch] - opensc <not-affected> (Vulnerable code introduced later)
https://github.com/OpenSC/OpenSC/commit/f015746d22d249642c19674298a18ad824db0ed7 (0.22.0-rc1)
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28185
https://bugzilla.redhat.com/show_bug.cgi?id=2016083