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://github.com/google/oss-fuzz-vulns/blob/main/vulns/selinux/OSV-2021-585.yaml | Third Party Advisory |
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32675 | Exploit Issue Tracking Patch Third Party Advisory |
https://lore.kernel.org/selinux/CAEN2sdqJKHvDzPnxS-J8grU8fSf32DDtx=kyh84OsCq_Vm+yaQ@mail.gmail.com/T/ | Mailing List Third Party Advisory |
https://github.com/SELinuxProject/selinux/commit/340f0eb7f3673e8aacaf0a96cbfcd4d12a405521 | Patch Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U7ZYR3PIJ75N6U2IONJWCKZ5L2NKJTGR/ | Mailing List Third Party Advisory |
Information
Published : 2021-06-30 20:15
Updated : 2021-11-17 06:05
NVD link : CVE-2021-36087
Mitre link : CVE-2021-36087
JSON object : View
CWE
CWE-125
Out-of-bounds Read
Products Affected
selinux_project
- selinux
fedoraproject
- fedora