{ "containers": { "cna": { "affected": [ { "product": "opensc", "vendor": "n/a", "versions": [ { "status": "affected", "version": "opensc 0.22.0" } ] } ], "descriptions": [ { "lang": "en", "value": "A heap double free issue was found in Opensc before version 0.22.0 in sc_pkcs15_free_tokeninfo." } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-672", "description": "CWE-672", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2022-09-07T04:06:28.000Z", "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat" }, "references": [ { "tags": [ "x_refsource_MISC" ], "url": "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28185" }, { "tags": [ "x_refsource_MISC" ], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2016083" }, { "tags": [ "x_refsource_MISC" ], "url": "https://github.com/OpenSC/OpenSC/commit/f015746d" }, { "name": "GLSA-202209-03", "tags": [ "vendor-advisory", "x_refsource_GENTOO" ], "url": "https://security.gentoo.org/glsa/202209-03" } ], "x_legacyV4Record": { "CVE_data_meta": { "ASSIGNER": "secalert@redhat.com", "ID": "CVE-2021-42778", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "opensc", "version": { "version_data": [ { "version_value": "opensc 0.22.0" } ] } } ] }, "vendor_name": "n/a" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "A heap double free issue was found in Opensc before version 0.22.0 in sc_pkcs15_free_tokeninfo." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-672" } ] } ] }, "references": { "reference_data": [ { "name": "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28185", "refsource": "MISC", "url": "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28185" }, { "name": "https://bugzilla.redhat.com/show_bug.cgi?id=2016083", "refsource": "MISC", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2016083" }, { "name": "https://github.com/OpenSC/OpenSC/commit/f015746d", "refsource": "MISC", "url": "https://github.com/OpenSC/OpenSC/commit/f015746d" }, { "name": "GLSA-202209-03", "refsource": "GENTOO", "url": "https://security.gentoo.org/glsa/202209-03" } ] } } }, "adp": [ { "title": "CVE Program Container", "references": [ { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28185" }, { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2016083" }, { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/OpenSC/OpenSC/commit/f015746d" }, { "name": "GLSA-202209-03", "tags": [ "vendor-advisory", "x_refsource_GENTOO", "x_transferred" ], "url": "https://security.gentoo.org/glsa/202209-03" }, { "url": "https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html" } ], "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2025-11-03T21:45:26.027Z" } } ] }, "cveMetadata": { "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "assignerShortName": "redhat", "cveId": "CVE-2021-42778", "datePublished": "2022-04-18T16:20:39.000Z", "dateReserved": "2021-10-21T00:00:00.000Z", "dateUpdated": "2025-11-03T21:45:26.027Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.2" }