CVE-2021-36087

Public on 2021-07-01
Modified on 2023-10-05
Description
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.
Severity
Low severity
Low
CVSS v3 Base Score
3.3
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 1 libsepol Not Affected
Amazon Linux 2 - Core libsepol 2023-10-12 ALAS2-2023-2307 Fixed
Amazon Linux 2 - Selinux-ng Extra libsepol 2023-08-07 ALAS2SELINUX-NG-2023-001 Fixed
Amazon Linux 2023 libsepol 2023-02-17 ALAS2023-2023-017 Fixed

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 3.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
NVD CVSSv2 2.1 AV:L/AC:L/Au:N/C:N/I:N/A:P
NVD CVSSv3 3.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L