Use After Free Affecting libsepol package, versions <2.7-1ubuntu0.1
Snyk CVSS
Attack Complexity
Low
Threat Intelligence
EPSS
0.07% (29th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-UBUNTU1804-LIBSEPOL-1315899
- published 3 Jul 2021
- disclosed 1 Jul 2021
Introduced: 1 Jul 2021
CVE-2021-36085 Open this link in a new tabHow to fix?
Upgrade Ubuntu:18.04
libsepol
to version 2.7-1ubuntu0.1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream libsepol
package and not the libsepol
package as distributed by Ubuntu
.
See How to fix?
for Ubuntu:18.04
relevant fixed versions and status.
The CIL compiler in SELinux 3.2 has a use-after-free in __cil_verify_classperms (called from __verify_map_perm_classperms and hashtab_map).
References
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2021-36085
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31124
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/selinux/OSV-2021-421.yaml
- https://github.com/SELinuxProject/selinux/commit/2d35fcc7e9e976a2346b1de20e54f8663e8a6cba
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U7ZYR3PIJ75N6U2IONJWCKZ5L2NKJTGR/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U7ZYR3PIJ75N6U2IONJWCKZ5L2NKJTGR/