SecurityContext

CVE-2021-36087: SELinux - Heap Buffer Over-read

  • Cve: CVE-2021-36087
  • Name: SELinux - Heap Buffer Over-read
  • 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.
  • Impact: Local attackers can cause information disclosure or application crashes through buffer over-read.
  • Remediation: Update to the latest version of SELinux or apply security patches addressing this issue.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: information_disclosure, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: low
  • Cvss score: 3.3
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
  • Epss score: 0.00475
  • Epss percentile: 0.41902
  • Assignee: [email protected]
  • Published at: 2021-07-01T03:15:08Z
  • Age in days: 1972
  • Modified at: 2026-10-14T12:17:14Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 9
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-36087
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-125Out-of-bounds Read

Public exploits

UrlSourceAdded date
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32675nvd2021-07-01

References

Same in every row:

  • Source: nvd
UrlTags
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32675Exploit, Issue Tracking, Patch, Third Party Advisory
https://github.com/SELinuxProject/selinux/commit/340f0eb7f3673e8aacaf0a96cbfcd4d12a405521Patch, Third Party Advisory
https://github.com/google/oss-fuzz-vulns/blob/main/vulns/selinux/OSV-2021-585.yamlThird 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/
https://lists.debian.org/debian-lts-announce/2024/10/msg00021.html
https://security.netapp.com/advisory/ntap-20250207-0004/
https://cert-portal.siemens.com/productcert/html/ssa-202008.html
https://cert-portal.siemens.com/productcert/html/ssa-398330.html

Products

ProductAffectedPlatform boundSourcesUrl
selinux_project:selinux= 3.2nonvd/v1/products/selinux_project/selinux
fedoraproject:fedora= 35nonvd/v1/products/fedoraproject/fedora

Projects

RepositoryLink kindsIndexedUrl
SELinuxProject/selinuxcommit, fixyes/v1/repositories/SELinuxProject/selinux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-07-01
  • Authentication required: yes
  • Exposed hosts: 49161
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports