CVE-2021-36087
Selinux Project Selinux vulnerability
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.
Affected products
Selinux, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Selinux Project Selinux runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- bugs.chromium.org/p/oss-fuzz/issues/detail?id=32675 · Exploit
- github.com/SELinuxProject/selinux/commit/340f0eb7f3673e8aacaf0a96cbfcd4d12a405521 · Patch
- github.com/google/oss-fuzz-vulns/blob/main/vulns/selinux/OSV-2021-585.yaml · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U
- lore.kernel.org/selinux/CAEN2sdqJKHvDzPnxS-J8grU8fSf32DDtx=kyh84OsCq_Vm+yaQ%40mail.gmail.c
- lists.debian.org/debian-lts-announce/2024/10/msg00021.html
- security.netapp.com/advisory/ntap-20250207-0004/
- cert-portal.siemens.com/productcert/html/ssa-202008.html
- nvd.nist.gov/vuln/detail/CVE-2021-36087
- cve.org/CVERecord?id=CVE-2021-36087
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.