Vulnerability 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.
CVSS Score
LOW
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Selinux Project | Selinux | 3.2 |
| Fedoraproject | Fedora | 35 |
Related Weaknesses (CWE)
References
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32675ExploitIssue TrackingPatch
- https://github.com/SELinuxProject/selinux/commit/340f0eb7f3673e8aacaf0a96cbfcd4dPatchThird Party Advisory
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/selinux/OSV-2021-585.yaThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lore.kernel.org/selinux/CAEN2sdqJKHvDzPnxS-J8grU8fSf32DDtx=kyh84OsCq_Vm+
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32675ExploitIssue TrackingPatch
- https://github.com/SELinuxProject/selinux/commit/340f0eb7f3673e8aacaf0a96cbfcd4dPatchThird Party Advisory
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/selinux/OSV-2021-585.yaThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2024/10/msg00021.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lore.kernel.org/selinux/CAEN2sdqJKHvDzPnxS-J8grU8fSf32DDtx=kyh84OsCq_Vm+
- https://security.netapp.com/advisory/ntap-20250207-0004/
FAQ
What is CVE-2021-36087?
CVE-2021-36087 is a vulnerability with a CVSS score of 3.3 (LOW). 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 invali...
How severe is CVE-2021-36087?
CVE-2021-36087 has been rated LOW with a CVSS base score of 3.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-36087?
Check the references section above for vendor advisories and patch information. Affected products include: Selinux Project Selinux, Fedoraproject Fedora.