CVE-2021-36085

NameCVE-2021-36085
DescriptionThe CIL compiler in SELinux 3.2 has a use-after-free in __cil_verify_classperms (called from __verify_map_perm_classperms and hashtab_map).
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3930-1, ELA-1209-1
Debian Bugs990526

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libsepol (PTS)jessie2.3-2fixed
stretch (lts), stretch2.6-2+deb9u1fixed
buster, buster (lts)2.8-1+deb10u1fixed
bullseye3.1-1vulnerable
bullseye (security)3.1-1+deb11u1fixed
bookworm3.4-2.1fixed
sid, trixie3.7-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libsepolsourcejessie(not affected)
libsepolsourcestretch2.6-2+deb9u1ELA-1209-1
libsepolsourcebuster2.8-1+deb10u1ELA-1209-1
libsepolsourcebullseye3.1-1+deb11u1DLA-3930-1
libsepolsource(unstable)3.3-1990526

Notes

[buster] - libsepol <no-dsa> (Minor issue)
[stretch] - libsepol <no-dsa> (Minor issue)
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31124
https://github.com/SELinuxProject/selinux/commit/2d35fcc7e9e976a2346b1de20e54f8663e8a6cba (3.3-rc1)
https://github.com/google/oss-fuzz-vulns/blob/main/vulns/selinux/OSV-2021-421.yaml
[jessie] - libsepol <not-affected> (CIL support added in 2.4)

Search for package or bug name: Reporting problems