{"api_version":"1","generated_at":"2026-04-23T06:19:34+00:00","cve":"CVE-2021-42779","urls":{"html":"https://cve.report/CVE-2021-42779","api":"https://cve.report/api/cve/CVE-2021-42779.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-42779","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-42779"},"summary":{"title":"CVE-2021-42779","description":"A heap use after free issue was found in Opensc before version 0.22.0 in sc_file_valid.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2022-04-18 17:15:00","updated_at":"2023-06-21 02:15:00"},"problem_types":["CWE-416"],"metrics":[],"references":[{"url":"https://github.com/OpenSC/OpenSC/commit/1db88374","name":"https://github.com/OpenSC/OpenSC/commit/1db88374","refsource":"MISC","tags":[],"title":"oberthur: Correctly check for return values · OpenSC/OpenSC@1db8837 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00025.html","name":"[debian-lts-announce] 20230621 [SECURITY] [DLA 3463-1] opensc security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 3463-1] opensc security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28843","name":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28843","refsource":"MISC","tags":[],"title":"28843 - \n \n \n oss-fuzz -\n \n \n OSS-Fuzz: Fuzzing the planet - \n \n Monorail","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2016086","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2016086","refsource":"MISC","tags":[],"title":"2016086 – (CVE-2021-42779) CVE-2021-42779 opensc: Heap use after free in sc_file_valid","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.gentoo.org/glsa/202209-03","name":"GLSA-202209-03","refsource":"GENTOO","tags":[],"title":"OpenSC: Multiple Vulnerabilities (GLSA 202209-03) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-42779","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42779","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"42779","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"33","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"42779","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"opensc_project","cpe5":"opensc","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"42779","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"7.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"42779","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-42779","qid":"184753","title":"Debian Security Update for opensc (CVE-2021-42779)"},{"cve":"CVE-2021-42779","qid":"355552","title":"Amazon Linux Security Advisory for opensc : ALAS2-2023-2102"},{"cve":"CVE-2021-42779","qid":"357244","title":"Amazon Linux Security Advisory for opensc : ALAS2023-2024-534"},{"cve":"CVE-2021-42779","qid":"6000071","title":"Debian Security Update for opensc (DLA 3463-1)"},{"cve":"CVE-2021-42779","qid":"710618","title":"Gentoo Linux OpenSC Multiple Vulnerabilities (GLSA 202209-03)"},{"cve":"CVE-2021-42779","qid":"751293","title":"SUSE Enterprise Linux Security Update for opensc (SUSE-SU-2021:3582-1)"},{"cve":"CVE-2021-42779","qid":"751951","title":"SUSE Enterprise Linux Security Update for opensc (SUSE-SU-2022:1041-1)"},{"cve":"CVE-2021-42779","qid":"752023","title":"SUSE Enterprise Linux Security Update for opensc (SUSE-SU-2022:1156-1)"},{"cve":"CVE-2021-42779","qid":"901442","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for opensc (9482)"},{"cve":"CVE-2021-42779","qid":"902285","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for opensc (9482-1)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-42779","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"opensc","version":{"version_data":[{"version_value":"opensc 0.22.0"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-416"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28843","url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28843"},{"refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2016086","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2016086"},{"refsource":"MISC","name":"https://github.com/OpenSC/OpenSC/commit/1db88374","url":"https://github.com/OpenSC/OpenSC/commit/1db88374"},{"refsource":"GENTOO","name":"GLSA-202209-03","url":"https://security.gentoo.org/glsa/202209-03"},{"refsource":"MLIST","name":"[debian-lts-announce] 20230621 [SECURITY] [DLA 3463-1] opensc security update","url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00025.html"}]},"description":{"description_data":[{"lang":"eng","value":"A heap use after free issue was found in Opensc before version 0.22.0 in sc_file_valid."}]}},"nvd":{"publishedDate":"2022-04-18 17:15:00","lastModifiedDate":"2023-06-21 02:15:00","problem_types":["CWE-416"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM"},"exploitabilityScore":3.9,"impactScore":1.4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:*","versionEndExcluding":"0.22.0","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"42779","Ordinal":"219289","Title":"CVE-2021-42779","CVE":"CVE-2021-42779","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"42779","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}