Security readout for executives and security teams
Plain-English summary
CVE-2021-36087 is a memory-read bug in the SELinux CIL compiler. A malformed CIL policy optional block can trigger a heap-based over-read during neverallow checks. The business risk is most relevant where systems compile SELinux policy from supplied or automated inputs.
Executive priority
Treat as a targeted maintenance item unless your environment compiles SELinux policy from untrusted or semi-trusted sources. Escalate for security engineering review in automated policy-generation, appliance, or multi-tenant management contexts.
Technical view
The issue is in SELinux 3.2 CIL compiler logic: ebitmap_match_any is reached indirectly from cil_check_neverallow without sufficient validation of invalid statements in optional blocks. Public sources identify an upstream SELinux commit and downstream Fedora, Debian LTS, and NetApp advisories, but the bundle provides no CVSS score.
Likely exposure
Exposure is likely limited to environments using affected SELinux CIL compiler components, especially policy build pipelines or products that process CIL policy. The provided affected-product metadata is incomplete, so confirm through vendor package advisories rather than product names alone.
Exploitation context
The bundle does not show CISA KEV listing or other evidence of active exploitation. OSS-Fuzz references suggest discovery through fuzz testing. Public evidence supports a malformed-input crash or memory safety concern, but not real-world exploitation.
Researcher notes
Key evidence points are the CVE description, OSS-Fuzz record, SELinux mailing-list discussion, upstream commit 340f0eb7f3673e8aacaf0a96cbfcd4d12a405521, and downstream advisories. Affected-product metadata is sparse, so package-level confirmation is required.
Mitigation direction
- Check vendor advisories for affected SELinux or libsepol packages.
- Update to vendor-fixed SELinux policy compiler packages where available.
- Confirm whether Fedora, Debian LTS, or NetApp guidance applies.
- Restrict CIL policy compilation inputs to trusted administrators and pipelines.
- Prioritize sooner if untrusted users can submit policy content.
Validation and detection
- Inventory systems and products that compile SELinux CIL policy.
- Confirm installed packages include the upstream fix or vendor backport.
- Review policy build workflows for externally supplied CIL input.
- Track vendor advisories until all applicable platforms are addressed.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CVE-2021-36087 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Unknown
- CVSS
- Not scored
- Known Exploited
- No
- Published
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS and timeline data
No CVSS vectors or timeline events were available in the normalized CVE source material.
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/selinux/OSV-2021-585.yamlCVE reference · x_refsource_MISC
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32675CVE reference · x_refsource_MISC
- https://lore.kernel.org/selinux/CAEN2sdqJKHvDzPnxS-J8grU8fSf32DDtx=kyh84OsCq_Vm+yaQ%40mail.gmail.com/T/CVE reference · x_refsource_MISC
- https://github.com/SELinuxProject/selinux/commit/340f0eb7f3673e8aacaf0a96cbfcd4d12a405521CVE reference · x_refsource_MISC
- FEDORA-2021-67efe88c29CVE reference · vendor-advisory, x_refsource_FEDORA
- https://security.netapp.com/advisory/ntap-20250207-0004/CVE reference
- https://lists.debian.org/debian-lts-announce/2024/10/msg00021.htmlCVE reference
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
