{
  "cveId": "CVE-2021-36087",
  "url": "https://patchblox.com/security/cve/CVE-2021-36087",
  "summary": "CVE-2021-36087 is fixed in 9 products on 1 platform, first by libsepol1 2.7-1ubuntu0.1, released June 30, 2021. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "libsepol: The libsepol library provides an API for the manipulation of SELinux binary policies",
  "description": "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).\n\nSecurity Fix(es):\n\n* libsepol: use-after-free in __cil_verify_classperms() (CVE-2021-36084)\n\n* libsepol: use-after-free in __cil_verify_classperms() (CVE-2021-36085)\n\n* libsepol: use-after-free in cil_reset_classpermission() (CVE-2021-36086)\n\n* libsepol: heap-based buffer overflow in ebitmap_match_any() (CVE-2021-36087)\n\nFor 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.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the Red Hat Enterprise Linux 8.5 Release Notes linked from the References section.",
  "published": "2021-06-30T20:15:00Z",
  "severity": "Moderate",
  "cvss": 3.3,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L",
  "epss": 0.00475,
  "epssPercentile": 0.41313,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "libsepol",
      "release": "RHEL 8",
      "fixedVersion": "0:2.9-3.el8",
      "fix": "RHSA-2021:4513",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-4513",
      "released": "2021-11-09T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libsepol",
      "release": "almalinux 8",
      "fixedVersion": "2.9-3.el8",
      "fix": "ALSA-2021:4513",
      "url": "https://patchblox.com/security/fix/linux/alsa-2021-4513",
      "released": "2021-11-09T09:39:50Z"
    },
    {
      "platform": "linux",
      "product": "libsepol",
      "release": "amzn 2023",
      "fixedVersion": "3.4-3.amzn2023.0.3",
      "fix": "ALAS2023-2023-017",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-017",
      "released": "2023-02-17T20:43:00Z"
    },
    {
      "platform": "linux",
      "product": "libsepol",
      "release": "ol 8",
      "fixedVersion": "0:2.9-3.el8",
      "fix": "ELSA-2021-4513",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-4513",
      "released": "2021-11-16T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libsepol",
      "release": "rocky 8",
      "fixedVersion": "0:2.9-3.el8",
      "fix": "RLSA-2021:4513",
      "url": "https://patchblox.com/security/fix/linux/rlsa-2021-4513",
      "released": "2021-11-09T09:39:50Z"
    },
    {
      "platform": "linux",
      "product": "libsepol-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "3.4-3.amzn2023.0.3",
      "fix": "ALAS2023-2023-017",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-017",
      "released": "2023-02-17T20:43:00Z"
    },
    {
      "platform": "linux",
      "product": "libsepol-debugsource",
      "release": "amzn 2023",
      "fixedVersion": "3.4-3.amzn2023.0.3",
      "fix": "ALAS2023-2023-017",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-017",
      "released": "2023-02-17T20:43:00Z"
    },
    {
      "platform": "linux",
      "product": "libsepol-devel",
      "release": "RHEL 8",
      "fixedVersion": "0:2.9-3.el8",
      "fix": "RHSA-2021:4513",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-4513",
      "released": "2021-11-09T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libsepol-devel",
      "release": "almalinux 8",
      "fixedVersion": "2.9-3.el8",
      "fix": "ALSA-2021:4513",
      "url": "https://patchblox.com/security/fix/linux/alsa-2021-4513",
      "released": "2021-11-09T09:39:50Z"
    },
    {
      "platform": "linux",
      "product": "libsepol-devel",
      "release": "amzn 2023",
      "fixedVersion": "3.4-3.amzn2023.0.3",
      "fix": "ALAS2023-2023-017",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-017",
      "released": "2023-02-17T20:43:00Z"
    },
    {
      "platform": "linux",
      "product": "libsepol-devel",
      "release": "ol 8",
      "fixedVersion": "0:2.9-3.el8",
      "fix": "ELSA-2021-4513",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-4513",
      "released": "2021-11-16T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libsepol-static",
      "release": "RHEL 8",
      "fixedVersion": "0:2.9-3.el8",
      "fix": "RHSA-2021:4513",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-4513",
      "released": "2021-11-09T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libsepol-static",
      "release": "almalinux 8",
      "fixedVersion": "2.9-3.el8",
      "fix": "ALSA-2021:4513",
      "url": "https://patchblox.com/security/fix/linux/alsa-2021-4513",
      "released": "2021-11-09T09:39:50Z"
    },
    {
      "platform": "linux",
      "product": "libsepol-static",
      "release": "amzn 2023",
      "fixedVersion": "3.4-3.amzn2023.0.3",
      "fix": "ALAS2023-2023-017",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-017",
      "released": "2023-02-17T20:43:00Z"
    },
    {
      "platform": "linux",
      "product": "libsepol-static",
      "release": "ol 8",
      "fixedVersion": "0:2.9-3.el8",
      "fix": "ELSA-2021-4513",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-4513",
      "released": "2021-11-16T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libsepol-utils",
      "release": "amzn 2023",
      "fixedVersion": "3.4-3.amzn2023.0.3",
      "fix": "ALAS2023-2023-017",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-017",
      "released": "2023-02-17T20:43:00Z"
    },
    {
      "platform": "linux",
      "product": "libsepol-utils-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "3.4-3.amzn2023.0.3",
      "fix": "ALAS2023-2023-017",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-017",
      "released": "2023-02-17T20:43:00Z"
    },
    {
      "platform": "linux",
      "product": "libsepol1",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "2.7-1ubuntu0.1",
      "fix": "libsepol1 2.7-1ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-libsepol1-2.7-1ubuntu0.1",
      "released": "2021-06-30T20:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libsepol1",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "3.0-1ubuntu0.1",
      "fix": "libsepol1 3.0-1ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-libsepol1-3.0-1ubuntu0.1",
      "released": "2021-06-30T20:15:00Z"
    },
    {
      "platform": "linux",
      "product": "sepol-utils",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "2.7-1ubuntu0.1",
      "fix": "sepol-utils 2.7-1ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-sepol-utils-2.7-1ubuntu0.1",
      "released": "2021-06-30T20:15:00Z"
    },
    {
      "platform": "linux",
      "product": "sepol-utils",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "3.0-1ubuntu0.1",
      "fix": "sepol-utils 3.0-1ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-sepol-utils-3.0-1ubuntu0.1",
      "released": "2021-06-30T20:15:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T06:59:42Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}