CVE-2021-42778

NameCVE-2021-42778
DescriptionA heap double free issue was found in Opensc before version 0.22.0 in sc_pkcs15_free_tokeninfo.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
opensc (PTS)stretch0.16.0-3+deb9u1vulnerable
stretch (security)0.16.0-3+deb9u2vulnerable
buster0.19.0-1+deb10u1vulnerable
bullseye0.21.0-1vulnerable
bookworm, sid0.22.0-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
openscsource(unstable)0.22.0-1

Notes

[bullseye] - opensc <no-dsa> (Minor issue)
[buster] - opensc <no-dsa> (Minor issue)
[stretch] - opensc <no-dsa> (Minor issue)
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

Search for package or bug name: Reporting problems