{"api_version":"1","generated_at":"2026-04-22T21:39:24+00:00","cve":"CVE-2021-36087","urls":{"html":"https://cve.report/CVE-2021-36087","api":"https://cve.report/api/cve/CVE-2021-36087.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-36087","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-36087"},"summary":{"title":"CVE-2021-36087","description":"The CIL compiler in SELinux 3.2 has a heap-based buffer over-read in ebitmap_match_any (called indirectly from cil_check_neverallow). This occurs because there is sometimes a lack of checks for invalid statements in an optional block.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2021-07-01 03:15:00","updated_at":"2023-11-07 03:36:00"},"problem_types":["CWE-125"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U7ZYR3PIJ75N6U2IONJWCKZ5L2NKJTGR/","name":"FEDORA-2021-67efe88c29","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 35 Update: libsepol-3.3-2.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/SELinuxProject/selinux/commit/bad0a746e9f4cf260dedba5828d9645d50176aac","name":"https://github.com/SELinuxProject/selinux/commit/bad0a746e9f4cf260dedba5828d9645d50176aac","refsource":"MISC","tags":[],"title":"secilc/docs: Update the CIL documentation for various blocks · SELinuxProject/selinux@bad0a74 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/google/oss-fuzz-vulns/blob/main/vulns/selinux/OSV-2021-585.yaml","name":"https://github.com/google/oss-fuzz-vulns/blob/main/vulns/selinux/OSV-2021-585.yaml","refsource":"MISC","tags":[],"title":"oss-fuzz-vulns/OSV-2021-585.yaml at main · google/oss-fuzz-vulns · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/SELinuxProject/selinux/commit/340f0eb7f3673e8aacaf0a96cbfcd4d12a405521","name":"https://github.com/SELinuxProject/selinux/commit/340f0eb7f3673e8aacaf0a96cbfcd4d12a405521","refsource":"MISC","tags":[],"title":"libsepol/cil: Check for statements not allowed in optional blocks · SELinuxProject/selinux@340f0eb · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lore.kernel.org/selinux/CAEN2sdqJKHvDzPnxS-J8grU8fSf32DDtx=kyh84OsCq_Vm+yaQ%40mail.gmail.com/T/","name":"https://lore.kernel.org/selinux/CAEN2sdqJKHvDzPnxS-J8grU8fSf32DDtx=kyh84OsCq_Vm+yaQ%40mail.gmail.com/T/","refsource":"","tags":[],"title":"libsepol CVE patch issue","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U7ZYR3PIJ75N6U2IONJWCKZ5L2NKJTGR/","name":"FEDORA-2021-67efe88c29","refsource":"","tags":[],"title":"[SECURITY] Fedora 35 Update: libsepol-3.3-2.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lore.kernel.org/selinux/CAEN2sdqJKHvDzPnxS-J8grU8fSf32DDtx=kyh84OsCq_Vm+yaQ@mail.gmail.com/T/","name":"https://lore.kernel.org/selinux/CAEN2sdqJKHvDzPnxS-J8grU8fSf32DDtx=kyh84OsCq_Vm+yaQ@mail.gmail.com/T/","refsource":"MISC","tags":[],"title":"libsepol CVE patch issue","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32675","name":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32675","refsource":"MISC","tags":[],"title":"32675 - \n \n \n oss-fuzz -\n \n \n OSS-Fuzz: Fuzzing the planet - \n \n Monorail","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-36087","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36087","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"36087","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"35","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"36087","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"selinux_project","cpe5":"selinux","cpe6":"3.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-36087","qid":"159521","title":"Oracle Enterprise Linux Security Update for libsepol (ELSA-2021-4513)"},{"cve":"CVE-2021-36087","qid":"183120","title":"Debian Security Update for libsepol (CVE-2021-36087)"},{"cve":"CVE-2021-36087","qid":"198754","title":"Ubuntu Security Notification for libsepol Vulnerabilities (USN-5391-1)"},{"cve":"CVE-2021-36087","qid":"239808","title":"Red Hat Update for libsepol (RHSA-2021:4513)"},{"cve":"CVE-2021-36087","qid":"282153","title":"Fedora Security Update for libsepol (FEDORA-2021-67efe88c29)"},{"cve":"CVE-2021-36087","qid":"354312","title":"Amazon Linux Security Advisory for libsepol : ALAS2022-2022-030"},{"cve":"CVE-2021-36087","qid":"354524","title":"Amazon Linux Security Advisory for libsepol : ALAS2022-2022-170"},{"cve":"CVE-2021-36087","qid":"354704","title":"Amazon Linux Security Advisory for libsepol : ALAS2022-2022-208"},{"cve":"CVE-2021-36087","qid":"355129","title":"Amazon Linux Security Advisory for libsepol : ALAS2023-2023-017"},{"cve":"CVE-2021-36087","qid":"356236","title":"Amazon Linux Security Advisory for libsepol : ALASSELINUX-NG-2023-001"},{"cve":"CVE-2021-36087","qid":"356437","title":"Amazon Linux Security Advisory for libsepol : ALAS2-2023-2307"},{"cve":"CVE-2021-36087","qid":"356590","title":"Amazon Linux Security Advisory for libsepol : ALAS2SELINUX-NG-2023-001"},{"cve":"CVE-2021-36087","qid":"591406","title":"Siemens SIMATIC S7-1500 CPU GNU/Linux subsystem Multiple Vulnerabilities (SSB-439005, ICSA-22-104-13)"},{"cve":"CVE-2021-36087","qid":"671274","title":"EulerOS Security Update for libsepol (EulerOS-SA-2022-1245)"},{"cve":"CVE-2021-36087","qid":"671334","title":"EulerOS Security Update for libsepol (EulerOS-SA-2022-1257)"},{"cve":"CVE-2021-36087","qid":"671370","title":"EulerOS Security Update for libsepol (EulerOS-SA-2022-1309)"},{"cve":"CVE-2021-36087","qid":"671373","title":"EulerOS Security Update for libsepol (EulerOS-SA-2022-1293)"},{"cve":"CVE-2021-36087","qid":"940148","title":"AlmaLinux Security Update for libsepol (ALSA-2021:4513)"},{"cve":"CVE-2021-36087","qid":"960253","title":"Rocky Linux Security Update for libsepol (RLSA-2021:4513)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-36087","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The CIL compiler in SELinux 3.2 has a heap-based buffer over-read in ebitmap_match_any (called indirectly from cil_check_neverallow). This occurs because there is sometimes a lack of checks for invalid statements in an optional block."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://github.com/google/oss-fuzz-vulns/blob/main/vulns/selinux/OSV-2021-585.yaml","refsource":"MISC","name":"https://github.com/google/oss-fuzz-vulns/blob/main/vulns/selinux/OSV-2021-585.yaml"},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32675","refsource":"MISC","name":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32675"},{"refsource":"MISC","name":"https://lore.kernel.org/selinux/CAEN2sdqJKHvDzPnxS-J8grU8fSf32DDtx=kyh84OsCq_Vm+yaQ@mail.gmail.com/T/","url":"https://lore.kernel.org/selinux/CAEN2sdqJKHvDzPnxS-J8grU8fSf32DDtx=kyh84OsCq_Vm+yaQ@mail.gmail.com/T/"},{"refsource":"MISC","name":"https://github.com/SELinuxProject/selinux/commit/340f0eb7f3673e8aacaf0a96cbfcd4d12a405521","url":"https://github.com/SELinuxProject/selinux/commit/340f0eb7f3673e8aacaf0a96cbfcd4d12a405521"},{"refsource":"FEDORA","name":"FEDORA-2021-67efe88c29","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U7ZYR3PIJ75N6U2IONJWCKZ5L2NKJTGR/"}]}},"nvd":{"publishedDate":"2021-07-01 03:15:00","lastModifiedDate":"2023-11-07 03:36:00","problem_types":["CWE-125"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW","baseScore":3.3,"baseSeverity":"LOW"},"exploitabilityScore":1.8,"impactScore":1.4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:N/I:N/A:P","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":2.1},"severity":"LOW","exploitabilityScore":3.9,"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:o:selinux_project:selinux:3.2:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"36087","Ordinal":"211602","Title":"CVE-2021-36087","CVE":"CVE-2021-36087","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"36087","Ordinal":"1","NoteData":"The CIL compiler in SELinux 3.2 has a heap-based buffer over-read in ebitmap_match_any (called indirectly from cil_check_neverallow). This occurs because there is sometimes a lack of checks for invalid statements in an optional block.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"36087","Ordinal":"2","NoteData":"2021-06-30","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"36087","Ordinal":"3","NoteData":"2021-11-15","Type":"Other","Title":"Modified"}]}}}