Low severity · published Jul 1, 2021
CVE-2021-36087
The CIL compiler in SELinux 3.2 has a heap-based buffer over-read in ebitmap_match_any (called indirectly from cil_check_neverallow)
3.3
CVSS
0.5%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 41% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FE
Fedora · Fedoraproject
35 · source: NVD
SE
Selinux · Selinux Project
3.2 · source: NVD
RR
RUGGEDCOM ROX MX5000 · Siemens
before V2.17.0 · source: CISA
RR
RUGGEDCOM ROX MX5000RE · Siemens
before V2.17.0 · source: CISA
RR
RUGGEDCOM ROX RX1400 · Siemens
before V2.17.0 · source: CISA
RR
RUGGEDCOM ROX RX1500 · Siemens
before V2.17.0 · source: CISA
RR
RUGGEDCOM ROX RX1501 · Siemens
before V2.17.0 · source: CISA
RR
RUGGEDCOM ROX RX1510 · Siemens
before V2.17.0 · source: CISA
RR
RUGGEDCOM ROX RX1511 · Siemens
before V2.17.0 · source: CISA
RR
RUGGEDCOM ROX RX1512 · Siemens
before V2.17.0 · source: CISA
RR
RUGGEDCOM ROX RX1524 · Siemens
before V2.17.0 · source: CISA
RR
RUGGEDCOM ROX RX1536 · Siemens
before V2.17.0 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-36087
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-36087
Exploit
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32675
Patch
https://github.com/SELinuxProject/selinux/commit/340f0eb7f3673e8aacaf0a96cbfcd4d12a405521
Third Party Advisory
https://github.com/google/oss-fuzz-vulns/blob/main/vulns/selinux/OSV-2021-585.yaml
lists.fedoraproject.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U7ZYR3PIJ75N6U2IONJWCKZ5L2NKJTGR/
lore.kernel.org
https://lore.kernel.org/selinux/CAEN2sdqJKHvDzPnxS-J8grU8fSf32DDtx=kyh84OsCq_Vm+yaQ%40mail.gmail.com/T/
lists.debian.org
https://lists.debian.org/debian-lts-announce/2024/10/msg00021.html
More from Fedora
10.0
CVE-2021-44228
Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
10.0
CVE-2015-3306
ProFTPD Improper Access Control Vulnerability
9.8
CVE-2024-4577
Argument Injection in PHP-CGI
9.8
CVE-2021-44026
Roundcube Webmail SQL Injection Vulnerability
9.8
CVE-2021-42013
Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773)
