EulerOS 2.0 SP9 : libsepol (EulerOS-SA-2022-1293)

low Nessus Plugin ID 158548

Synopsis

The remote EulerOS host is missing multiple security updates.

Description

According to the versions of the libsepol package installed, the EulerOS installation on the remote host is affected by the following vulnerabilities :

- 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 that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Update the affected libsepol packages.

See Also

http://www.nessus.org/u?a36a6da7

Plugin Details

Severity: Low

ID: 158548

File Name: EulerOS_SA-2022-1293.nasl

Version: 1.3

Type: local

Published: 3/2/2022

Updated: 11/6/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 2.2

CVSS v2

Risk Factor: Low

Base Score: 2.1

Temporal Score: 1.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:N/A:P

CVSS Score Source: CVE-2021-36087

CVSS v3

Risk Factor: Low

Base Score: 3.3

Temporal Score: 3

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:huawei:euleros:libsepol, cpe:/o:huawei:euleros:2.0

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/EulerOS/release, Host/EulerOS/rpm-list, Host/EulerOS/sp

Excluded KB Items: Host/EulerOS/uvp_version

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/2/2022

Vulnerability Publication Date: 7/1/2021

Reference Information

CVE: CVE-2021-36084, CVE-2021-36085, CVE-2021-36086, CVE-2021-36087