Skip to content

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). This occurs because there is sometimes a lack of checks for invali...

LowCVSS 3.3 EPSS 0.48%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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 products

ProductAffected versionsFixed in
debian/libsepol(Debian:12) < 3.3-1 3.3-1
debian/libsepol(Debian:13) < 3.3-1 3.3-1
debian/libsepol(Debian:14) < 3.3-1 3.3-1
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
Siemens RUGGEDCOM ROX MX5000 < V2.17.0 V2.17.0
Siemens RUGGEDCOM ROX MX5000RE < V2.17.0 V2.17.0
Siemens RUGGEDCOM ROX RX1400 < V2.17.0 V2.17.0
Siemens RUGGEDCOM ROX RX1500 < V2.17.0 V2.17.0
Siemens RUGGEDCOM ROX RX1501 < V2.17.0 V2.17.0
Siemens RUGGEDCOM ROX RX1510 < V2.17.0 V2.17.0
Siemens RUGGEDCOM ROX RX1511 < V2.17.0 V2.17.0
Siemens RUGGEDCOM ROX RX1512 < V2.17.0 V2.17.0
Siemens RUGGEDCOM ROX RX1524 < V2.17.0 V2.17.0
Siemens RUGGEDCOM ROX RX1536 < V2.17.0 V2.17.0
Siemens RUGGEDCOM ROX RX5000 < V2.17.0 V2.17.0
selinux project selinux = 3.2 No fix listed
fedoraproject fedora = 35 No fix listed
ubuntu/libsepol(Ubuntu:Pro:16.04) < 2.4-2ubuntu0.1~esm1 2.4-2ubuntu0.1~esm1
ubuntu/libsepol(Ubuntu:Pro:16.04) = 2.3-2 No fix listed
ubuntu/libsepol(Ubuntu:Pro:16.04) = 2.4-2 No fix listed
ubuntu/libsepol(Ubuntu:18.04) < 2.7-1ubuntu0.1 2.7-1ubuntu0.1
ubuntu/libsepol(Ubuntu:18.04) = 2.7-1 No fix listed
ubuntu/libsepol(Ubuntu:20.04) < 3.0-1ubuntu0.1 3.0-1ubuntu0.1
Show 2 more
ProductAffected versionsFixed in
ubuntu/libsepol(Ubuntu:20.04) = 2.9-2 No fix listed
ubuntu/libsepol(Ubuntu:20.04) = 3.0-1 No fix listed

References