Use After Free Affecting libsepol-devel package, versions <0:2.9-3.el8


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.46% (39th 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 IDSNYK-RHEL8-LIBSEPOLDEVEL-4166659
  • published26 Jul 2021
  • disclosed19 Apr 2021

Introduced: 19 Apr 2021

CVE-2021-36084  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade RHEL:8 libsepol-devel to version 0:2.9-3.el8 or higher.
This issue was patched in RHSA-2021:4513.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libsepol-devel package and not the libsepol-devel package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

The CIL compiler in SELinux 3.2 has a use-after-free in __cil_verify_classperms (called from __cil_verify_classpermission and __cil_pre_verify_helper).

CVSS Base Scores

version 3.1