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


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.07% (32nd 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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALMALINUX8-LIBSEPOL-5634362
  • published28 May 2023
  • disclosed9 Nov 2021

Introduced: 9 Nov 2021

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

How to fix?

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

NVD Description

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

The CIL compiler in SELinux 3.2 has a use-after-free in cil_reset_classpermission (called from cil_reset_classperms_set and cil_reset_classperms_list).

CVSS Scores

version 3.1