Vulnerability · Published Jul 1, 2021 · Assigned by mitre
CVE-2021-36087
Low 3.3
In plain English
A low-severity security flaw in the libsepol package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)3.3Low
Exploit odds (30 days)0.5%top 58.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | libsepol | 2.9-3.el8 | ALSA-2021:4513 |
| AlmaLinux:8 | libsepol-devel | 2.9-3.el8 | ALSA-2021:4513 |
| AlmaLinux:8 | libsepol-static | 2.9-3.el8 | ALSA-2021:4513 |
| Debian:12 | libsepol | 3.3-1 | DEBIAN-CVE-2021-36087 |
| Debian:13 | libsepol | 3.3-1 | DEBIAN-CVE-2021-36087 |
| Debian:14 | libsepol | 3.3-1 | DEBIAN-CVE-2021-36087 |
| Rocky Linux:8 | libsepol | 0:2.9-3.el8 | RLSA-2021:4513 |
Affected products (as reported)
References
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/selinux/OSV-2021-585.yaml x_refsource_MISC
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32675 x_refsource_MISC
- https://lore.kernel.org/selinux/CAEN2sdqJKHvDzPnxS-J8grU8fSf32DDtx=kyh84OsCq_Vm+yaQ%40mail.gmail.com/T/ x_refsource_MISC
- https://github.com/SELinuxProject/selinux/commit/340f0eb7f3673e8aacaf0a96cbfcd4d12a405521 x_refsource_MISC
- FEDORA-2021-67efe88c29 vendor-advisory, x_refsource_FEDORA
- https://security.netapp.com/advisory/ntap-20250207-0004/
- https://lists.debian.org/debian-lts-announce/2024/10/msg00021.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-202008.html