Moderate: libsepol security update

libsepol Updated 02 Oct 2025

Summary

09/11/2021
N/A
Yes i
Unrated
Not published

ALSA-2021:4513: Moderate: libsepol security update. Affects libsepol versions < 2.9-3.el8. Fixed in 2.9-3.el8. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The libsepol library is responsible for providing an API for the manipulation of SELinux binary policies. It is utilized by various tools such as checkpolicy (the policy compiler) and programs like load_policy that require specific transformations on binary policies. The library allows customization of policy boolean settings and performs essential functions related to SELinux policies.

Vulnerability Detail

The libsepol library is affected by multiple vulnerabilities:

  1. CVE-2021-36084: A use-after-free vulnerability in __cil_verify_classperms() function.
  2. CVE-2021-36085: Another use-after-free vulnerability in __cil_verify_classperms() function.
  3. CVE-2021-36086: A use-after-free vulnerability in cil_reset_classpermission() function.
  4. CVE-2021-36087: A heap-based buffer overflow vulnerability in ebitmap_match_any() function.

These vulnerabilities can potentially lead to security breaches, allowing attackers to execute arbitrary code or cause denial of service (DoS) conditions. The impact of these vulnerabilities can vary depending on the context in which the libsepol library is used.

How To Fix

Minimum fixed version

2.9-3.el8

This is the first release that contains the fix.

sudo dnf update libsepol

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There are no known workarounds available for these vulnerabilities. It is recommended to apply the provided fix by updating the libsepol package to the latest version.

Conclusion

In conclusion, the libsepol library is affected by multiple vulnerabilities that can potentially lead to security breaches. It is crucial to update the libsepol package to the latest version to mitigate these vulnerabilities. If you require further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for libsepol →

Share this vulnerability

FAQ

libsepol is a library that provides an API for the manipulation of SELinux binary policies. It is used by various tools and programs to handle SELinux policies.

These vulnerabilities can potentially allow attackers to execute arbitrary code or cause denial of service (DoS) conditions. The impact may vary depending on the context in which the libsepol library is used.

You can use vulnerability monitoring tools like Vulert to check if your system is affected by these vulnerabilities. Vulert analyzes package manifests and provides real-time alerts for open-source vulnerabilities.

No, there are no known workarounds available for these vulnerabilities. It is recommended to update the libsepol package to the latest version.

You can find more information about these vulnerabilities, including their impact, CVSS scores, and acknowledgments, on the respective CVE pages: CVE-2021-36084, CVE-2021-36085, CVE-2021-36086, CVE-2021-36087.

Related vulnerabilities

Recent vulnerabilities recorded for libsepol.

How To Fix

Minimum fixed version

2.9-3.el8

This is the first release that contains the fix.

sudo dnf update libsepol

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback