Advisory

ALSA-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 AlmaLinux Release Notes linked from the References section.

Severity

Not rated by the source.

Dates

Published
2021-11-09 09:39 UTC
Modified
2026-10-29 11:01 UTC

Affected packages and fixes

libsepol

RPM packages (rpm) · AlmaLinux 8

Affected

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

Fixed versions

2.9-3.el8

Fix

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

libsepol-devel

RPM packages (rpm) · AlmaLinux 8

Affected

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

Fixed versions

2.9-3.el8

Fix

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

libsepol-static

RPM packages (rpm) · AlmaLinux 8

Affected

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

Fixed versions

2.9-3.el8

Fix

  • Fixed version 2.9-3.el8
    sudo dnf upgrade libsepol-static-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: AlmaLinux OSV database · MIT

Sources & licences