QID 356236

Date Published: 2023-09-28

QID 356236: Amazon Linux Security Advisory for libsepol : ALASSELINUX-NG-2023-001

The cil compiler in selinux 3.2 has a use-after-free in __cil_verify_classperms (called from __cil_verify_classpermission and __cil_pre_verify_helper). (
( CVE-2021-36084) the cil compiler in selinux 3.2 has a use-after-free in __cil_verify_classperms (called from __verify_map_perm_classperms and hashtab_map). (
( CVE-2021-36085) 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). (
( CVE-2021-36086) the cil compiler in selinux 3.2 has a heap-based buffer over-read in ebitmap_match_any (called indirectly from cil_check_neverallow).
This occurs because there is sometimes a lack of checks for invalid statements in an optional block. (
( CVE-2021-36087)



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.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Medium - 3.3 severity.
  • CVSS V2 rated as Low - 2.1 severity.
  • Solution
    Please refer to Amazon advisory: ALASSELINUX-NG-2023-001 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 356236

    Software Advisories
    Advisory ID Software Component Link
    ALASSELINUX-NG-2023-001 amazon linux 2 URL Logo alas.aws.amazon.com/AL2/ALASSELINUX-NG-2023-001.html