Advisory

RLSA-2021:4513

Also known as: CVE-2021-36084, CVE-2021-36085, CVE-2021-36086, CVE-2021-36087

Summary

Moderate: libsepol security update

Details

The libsepol library provides an API for the manipulation of SELinux binary policies. It is used by checkpolicy (the policy compiler) and similar tools, as well as by programs like load_policy that need to perform specific transformations on binary policies (for example, customizing policy boolean settings).

Security Fix(es):

  • libsepol: use-after-free in __cil_verify_classperms() (CVE-2021-36084)
  • libsepol: use-after-free in __cil_verify_classperms() (CVE-2021-36085)
  • libsepol: use-after-free in cil_reset_classpermission() (CVE-2021-36086)
  • libsepol: heap-based buffer overflow in ebitmap_match_any() (CVE-2021-36087)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Rocky Linux 8.5 Release Notes linked from the References section.

Severity

Low Basis: CVSS v3 score 3.3, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Dates

Published
2021-11-09 09:39 UTC
Modified
2026-02-05 11:15 UTC

Affected packages and fixes

libsepol

RPM packages (rpm) · Rocky Linux 8

Affected

  • introduced 0, fixed 0:2.9-3.el8 (ecosystem)

Fixed versions

0:2.9-3.el8

Fix

  • Fixed version 0:2.9-3.el8
    sudo dnf upgrade libsepol-0:2.9-3.el8

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Rocky Linux errata (Apollo)

Rocky Linux errata, Rocky Enterprise Software Foundation.

Sources & licences