QID 239808

Date Published: 2021-11-10

QID 239808: Red Hat Update for libsepol (RHSA-2021:4513)

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)

Affected Products:

  • Red Hat enterprise linux for x86_64 8 x86_64
  • Red Hat enterprise linux for ibm z systems 8 s390x
  • Red Hat enterprise linux for power, little endian 8 ppc64le
  • Red Hat enterprise linux for arm 64 8 aarch64
  • Red Hat codeready linux builder for x86_64 8 x86_64
  • Red Hat codeready linux builder for power, little endian 8 ppc64le
  • Red Hat codeready linux builder for arm 64 8 aarch64
  • Red Hat codeready linux builder for ibm z systems 8 s390x



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

On successful exploitation, it could allow an attacker to execute code.

  • CVSS V3 rated as Medium - 3.3 severity.
  • CVSS V2 rated as Low - 2.1 severity.
  • Solution
    Upgrade to the latest packages which contain a patch.

    Refer to Refer to :
    Applying Package Updates to RHEL system
    for details.

    Refer to Red Hat security advisory RHSA-2021:4513 Update to address this issue and obtain more information.

    Vendor References

    CVEs related to QID 239808

    Software Advisories
    Advisory ID Software Component Link
    RHSA-2021:4513 Red Hat Enterprise Linux URL Logo access.redhat.com/errata/RHSA-2021:4513