| Name | CVE-2021-36087 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-3930-1 |
| Debian Bugs | 990526 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| libsepol (PTS) | bullseye | 3.1-1 | vulnerable |
| bullseye (security) | 3.1-1+deb11u1 | fixed | |
| bookworm | 3.4-2.1 | fixed | |
| trixie | 3.8.1-1 | fixed | |
| forky, sid | 3.9-2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| libsepol | source | bullseye | 3.1-1+deb11u1 | DLA-3930-1 | ||
| libsepol | source | (unstable) | 3.3-1 | 990526 |
[buster] - libsepol <no-dsa> (Minor issue)
[stretch] - libsepol <no-dsa> (Minor issue)
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32675
https://github.com/SELinuxProject/selinux/commit/340f0eb7f3673e8aacaf0a96cbfcd4d12a405521 (3.3-rc1)
https://github.com/SELinuxProject/selinux/commit/bad0a746e9f4cf260dedba5828d9645d50176aac (3.3-rc1)
https://github.com/google/oss-fuzz-vulns/blob/main/vulns/selinux/OSV-2021-585.yaml