Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 810101 (CVE-2021-36084, CVE-2021-36085, CVE-2021-36086, CVE-2021-36087) - <sys-libs/libsepol-3.3: Multiple vulnerabilities
Summary: <sys-libs/libsepol-3.3: Multiple vulnerabilities
Alias: CVE-2021-36084, CVE-2021-36085, CVE-2021-36086, CVE-2021-36087
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
Whiteboard: B3 [glsa? cleanup]
Keywords: PullRequest
Depends on: 829388
  Show dependency tree
Reported: 2021-08-24 22:57 UTC by Jonathan Davies
Modified: 2021-12-28 01:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Davies 2021-08-24 22:57:16 UTC
| 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).

| 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).

| 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).

| The CIL compiler in SELinux 3.2 has a heap-based buffer over-read in
| ebitmap_match_any (called indirectly from cil_check_neverallow). NOTE:
| bad0a746e9f4cf260dedba5828d9645d50176aac is cited in the OSV "fixed"
| field but does not have a code change.

Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-08-24 23:01:20 UTC
Comment 2 Larry the Git Cow gentoo-dev 2021-10-31 02:55:01 UTC
The bug has been referenced in the following commit(s):

commit 0284eecd70db11f4c08e23ba79f2cfe55cf027ae
Author:     Jonathan Davies <>
AuthorDate: 2021-10-24 11:45:35 +0000
Commit:     Sam James <>
CommitDate: 2021-10-31 02:50:19 +0000

    sys-libs/libsepol: Version updated to 3.3.
    Signed-off-by: Jonathan Davies <>
    Signed-off-by: Sam James <>

 sys-libs/libsepol/Manifest            |  1 +
 sys-libs/libsepol/libsepol-3.3.ebuild | 50 +++++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)