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.
References
Link | Resource |
---|---|
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32675 | Exploit Issue Tracking Patch Third Party Advisory |
https://github.com/SELinuxProject/selinux/commit/340f0eb7f3673e8aacaf0a96cbfcd4d12a405521 | Patch Third Party Advisory |
https://github.com/google/oss-fuzz-vulns/blob/main/vulns/selinux/OSV-2021-585.yaml | Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U7ZYR3PIJ75N6U2IONJWCKZ5L2NKJTGR/ | |
https://lore.kernel.org/selinux/CAEN2sdqJKHvDzPnxS-J8grU8fSf32DDtx=kyh84OsCq_Vm+yaQ%40mail.gmail.com/T/ |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2021-07-01T02:49:55
Updated: 2021-11-15T07:06:34
Reserved: 2021-07-01T00:00:00
Link: CVE-2021-36087
JSON object: View
NVD Information
Status : Modified
Published: 2021-07-01T03:15:08.817
Modified: 2023-11-07T03:36:42.693
Link: CVE-2021-36087
JSON object: View
Redhat Information
No data.
CWE