EulerOS Virtualization 3.0.6.0 : glibc (EulerOS-SA-2022-2560)

critical Nessus Plugin ID 165975

Synopsis

The remote EulerOS Virtualization host is missing multiple security updates.

Description

According to the versions of the glibc packages installed, the EulerOS Virtualization installation on the remote host is affected by the following vulnerabilities :

- The nameserver caching daemon (nscd) in the GNU C Library (aka glibc or libc6) 2.29 through 2.33, when processing a request for netgroup lookup, may crash due to a double-free, potentially resulting in degraded service or Denial of Service on the local system. This is related to netgroupcache.c.
(CVE-2021-27645)

- A flaw was found in glibc. An off-by-one buffer overflow and underflow in getcwd() may lead to memory corruption when the size of the buffer is exactly 1. A local attacker who can control the input buffer and size passed to getcwd() in a setuid program could use this flaw to potentially execute arbitrary code and escalate their privileges on the system. (CVE-2021-3999)

- The deprecated compatibility function svcunix_create in the sunrpc module of the GNU C Library (aka glibc) through 2.34 copies its path argument on the stack without validating its length, which may result in a buffer overflow, potentially resulting in a denial of service or (if an application is not built with a stack protector enabled) arbitrary code execution. (CVE-2022-23218)

- The deprecated compatibility function clnt_create in the sunrpc module of the GNU C Library (aka glibc) through 2.34 copies its hostname argument on the stack without validating its length, which may result in a buffer overflow, potentially resulting in a denial of service or (if an application is not built with a stack protector enabled) arbitrary code execution. (CVE-2022-23219)

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 glibc packages.

See Also

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

Plugin Details

Severity: Critical

ID: 165975

File Name: EulerOS_SA-2022-2560.nasl

Version: 1.3

Type: local

Published: 10/10/2022

Updated: 10/10/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.2

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

CVSS Score Source: CVE-2022-23219

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.1

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

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

Vulnerability Information

CPE: p-cpe:/a:huawei:euleros:glibc, p-cpe:/a:huawei:euleros:glibc-all-langpacks, p-cpe:/a:huawei:euleros:glibc-common, p-cpe:/a:huawei:euleros:glibc-devel, p-cpe:/a:huawei:euleros:glibc-headers, p-cpe:/a:huawei:euleros:glibc-langpack-aa, p-cpe:/a:huawei:euleros:glibc-langpack-af, p-cpe:/a:huawei:euleros:glibc-langpack-agr, p-cpe:/a:huawei:euleros:glibc-langpack-ak, p-cpe:/a:huawei:euleros:glibc-langpack-am, p-cpe:/a:huawei:euleros:glibc-langpack-an, p-cpe:/a:huawei:euleros:glibc-langpack-anp, p-cpe:/a:huawei:euleros:glibc-langpack-ar, p-cpe:/a:huawei:euleros:glibc-langpack-as, p-cpe:/a:huawei:euleros:glibc-langpack-ast, p-cpe:/a:huawei:euleros:glibc-langpack-ayc, p-cpe:/a:huawei:euleros:glibc-langpack-az, p-cpe:/a:huawei:euleros:glibc-langpack-be, p-cpe:/a:huawei:euleros:glibc-langpack-bem, p-cpe:/a:huawei:euleros:glibc-langpack-ber, p-cpe:/a:huawei:euleros:glibc-langpack-bg, p-cpe:/a:huawei:euleros:glibc-langpack-bhb, p-cpe:/a:huawei:euleros:glibc-langpack-bho, p-cpe:/a:huawei:euleros:glibc-langpack-bi, p-cpe:/a:huawei:euleros:glibc-langpack-bn, p-cpe:/a:huawei:euleros:glibc-langpack-bo, p-cpe:/a:huawei:euleros:glibc-langpack-br, p-cpe:/a:huawei:euleros:glibc-langpack-brx, p-cpe:/a:huawei:euleros:glibc-langpack-bs, p-cpe:/a:huawei:euleros:glibc-langpack-byn, p-cpe:/a:huawei:euleros:glibc-langpack-ca, p-cpe:/a:huawei:euleros:glibc-langpack-ce, p-cpe:/a:huawei:euleros:glibc-langpack-chr, p-cpe:/a:huawei:euleros:glibc-langpack-cmn, p-cpe:/a:huawei:euleros:glibc-langpack-crh, p-cpe:/a:huawei:euleros:glibc-langpack-cs, p-cpe:/a:huawei:euleros:glibc-langpack-csb, p-cpe:/a:huawei:euleros:glibc-langpack-cv, p-cpe:/a:huawei:euleros:glibc-langpack-cy, p-cpe:/a:huawei:euleros:glibc-langpack-da, p-cpe:/a:huawei:euleros:glibc-langpack-de, p-cpe:/a:huawei:euleros:glibc-langpack-doi, p-cpe:/a:huawei:euleros:glibc-langpack-dsb, p-cpe:/a:huawei:euleros:glibc-langpack-dv, p-cpe:/a:huawei:euleros:glibc-langpack-dz, p-cpe:/a:huawei:euleros:glibc-langpack-el, p-cpe:/a:huawei:euleros:glibc-langpack-en, p-cpe:/a:huawei:euleros:glibc-langpack-eo, p-cpe:/a:huawei:euleros:glibc-langpack-es, p-cpe:/a:huawei:euleros:glibc-langpack-et, p-cpe:/a:huawei:euleros:glibc-langpack-eu, p-cpe:/a:huawei:euleros:glibc-langpack-fa, p-cpe:/a:huawei:euleros:glibc-langpack-ff, p-cpe:/a:huawei:euleros:glibc-langpack-fi, p-cpe:/a:huawei:euleros:glibc-langpack-fil, p-cpe:/a:huawei:euleros:glibc-langpack-fo, p-cpe:/a:huawei:euleros:glibc-langpack-fr, p-cpe:/a:huawei:euleros:glibc-langpack-fur, p-cpe:/a:huawei:euleros:glibc-langpack-fy, p-cpe:/a:huawei:euleros:glibc-langpack-ga, p-cpe:/a:huawei:euleros:glibc-langpack-gd, p-cpe:/a:huawei:euleros:glibc-langpack-gez, p-cpe:/a:huawei:euleros:glibc-langpack-gl, p-cpe:/a:huawei:euleros:glibc-langpack-gu, p-cpe:/a:huawei:euleros:glibc-langpack-gv, p-cpe:/a:huawei:euleros:glibc-langpack-ha, p-cpe:/a:huawei:euleros:glibc-langpack-hak, p-cpe:/a:huawei:euleros:glibc-langpack-he, p-cpe:/a:huawei:euleros:glibc-langpack-hi, p-cpe:/a:huawei:euleros:glibc-langpack-hif, p-cpe:/a:huawei:euleros:glibc-langpack-hne, p-cpe:/a:huawei:euleros:glibc-langpack-hr, p-cpe:/a:huawei:euleros:glibc-langpack-hsb, p-cpe:/a:huawei:euleros:glibc-langpack-ht, p-cpe:/a:huawei:euleros:glibc-langpack-hu, p-cpe:/a:huawei:euleros:glibc-langpack-hy, p-cpe:/a:huawei:euleros:glibc-langpack-ia, p-cpe:/a:huawei:euleros:glibc-langpack-id, p-cpe:/a:huawei:euleros:glibc-langpack-ig, p-cpe:/a:huawei:euleros:glibc-langpack-ik, p-cpe:/a:huawei:euleros:glibc-langpack-is, p-cpe:/a:huawei:euleros:glibc-langpack-it, p-cpe:/a:huawei:euleros:glibc-langpack-iu, p-cpe:/a:huawei:euleros:glibc-langpack-ja, p-cpe:/a:huawei:euleros:glibc-langpack-ka, p-cpe:/a:huawei:euleros:glibc-langpack-kab, p-cpe:/a:huawei:euleros:glibc-langpack-kk, p-cpe:/a:huawei:euleros:glibc-langpack-kl, p-cpe:/a:huawei:euleros:glibc-langpack-km, p-cpe:/a:huawei:euleros:glibc-langpack-kn, p-cpe:/a:huawei:euleros:glibc-langpack-ko, p-cpe:/a:huawei:euleros:glibc-langpack-kok, p-cpe:/a:huawei:euleros:glibc-langpack-ks, p-cpe:/a:huawei:euleros:glibc-langpack-ku, p-cpe:/a:huawei:euleros:glibc-langpack-kw, p-cpe:/a:huawei:euleros:glibc-langpack-ky, p-cpe:/a:huawei:euleros:glibc-langpack-lb, p-cpe:/a:huawei:euleros:glibc-langpack-lg, p-cpe:/a:huawei:euleros:glibc-langpack-li, p-cpe:/a:huawei:euleros:glibc-langpack-lij, p-cpe:/a:huawei:euleros:glibc-langpack-ln, p-cpe:/a:huawei:euleros:glibc-langpack-lo, p-cpe:/a:huawei:euleros:glibc-langpack-lt, p-cpe:/a:huawei:euleros:glibc-langpack-lv, p-cpe:/a:huawei:euleros:glibc-langpack-lzh, p-cpe:/a:huawei:euleros:glibc-langpack-mag, p-cpe:/a:huawei:euleros:glibc-langpack-mai, p-cpe:/a:huawei:euleros:glibc-langpack-mfe, p-cpe:/a:huawei:euleros:glibc-langpack-mg, p-cpe:/a:huawei:euleros:glibc-langpack-mhr, p-cpe:/a:huawei:euleros:glibc-langpack-mi, p-cpe:/a:huawei:euleros:glibc-langpack-miq, p-cpe:/a:huawei:euleros:glibc-langpack-mjw, p-cpe:/a:huawei:euleros:glibc-langpack-mk, p-cpe:/a:huawei:euleros:glibc-langpack-ml, p-cpe:/a:huawei:euleros:glibc-langpack-mn, p-cpe:/a:huawei:euleros:glibc-langpack-mni, p-cpe:/a:huawei:euleros:glibc-langpack-mr, p-cpe:/a:huawei:euleros:glibc-langpack-ms, p-cpe:/a:huawei:euleros:glibc-langpack-mt, p-cpe:/a:huawei:euleros:glibc-langpack-my, p-cpe:/a:huawei:euleros:glibc-langpack-nan, p-cpe:/a:huawei:euleros:glibc-langpack-nb, p-cpe:/a:huawei:euleros:glibc-langpack-nds, p-cpe:/a:huawei:euleros:glibc-langpack-ne, p-cpe:/a:huawei:euleros:glibc-langpack-nhn, p-cpe:/a:huawei:euleros:glibc-langpack-niu, p-cpe:/a:huawei:euleros:glibc-langpack-nl, p-cpe:/a:huawei:euleros:glibc-langpack-nn, p-cpe:/a:huawei:euleros:glibc-langpack-nr, p-cpe:/a:huawei:euleros:glibc-langpack-nso, p-cpe:/a:huawei:euleros:glibc-langpack-oc, p-cpe:/a:huawei:euleros:glibc-langpack-om, p-cpe:/a:huawei:euleros:glibc-langpack-or, p-cpe:/a:huawei:euleros:glibc-langpack-os, p-cpe:/a:huawei:euleros:glibc-langpack-pa, p-cpe:/a:huawei:euleros:glibc-langpack-pap, p-cpe:/a:huawei:euleros:glibc-langpack-pl, p-cpe:/a:huawei:euleros:glibc-langpack-ps, p-cpe:/a:huawei:euleros:glibc-langpack-pt, p-cpe:/a:huawei:euleros:glibc-langpack-quz, p-cpe:/a:huawei:euleros:glibc-langpack-raj, p-cpe:/a:huawei:euleros:glibc-langpack-ro, p-cpe:/a:huawei:euleros:glibc-langpack-ru, p-cpe:/a:huawei:euleros:glibc-langpack-rw, p-cpe:/a:huawei:euleros:glibc-langpack-sa, p-cpe:/a:huawei:euleros:glibc-langpack-sah, p-cpe:/a:huawei:euleros:glibc-langpack-sat, p-cpe:/a:huawei:euleros:glibc-langpack-sc, p-cpe:/a:huawei:euleros:glibc-langpack-sd, p-cpe:/a:huawei:euleros:glibc-langpack-se, p-cpe:/a:huawei:euleros:glibc-langpack-sgs, p-cpe:/a:huawei:euleros:glibc-langpack-shn, p-cpe:/a:huawei:euleros:glibc-langpack-shs, p-cpe:/a:huawei:euleros:glibc-langpack-si, p-cpe:/a:huawei:euleros:glibc-langpack-sid, p-cpe:/a:huawei:euleros:glibc-langpack-sk, p-cpe:/a:huawei:euleros:glibc-langpack-sl, p-cpe:/a:huawei:euleros:glibc-langpack-sm, p-cpe:/a:huawei:euleros:glibc-langpack-so, p-cpe:/a:huawei:euleros:glibc-langpack-sq, p-cpe:/a:huawei:euleros:glibc-langpack-sr, p-cpe:/a:huawei:euleros:glibc-langpack-ss, p-cpe:/a:huawei:euleros:glibc-langpack-st, p-cpe:/a:huawei:euleros:glibc-langpack-sv, p-cpe:/a:huawei:euleros:glibc-langpack-sw, p-cpe:/a:huawei:euleros:glibc-langpack-szl, p-cpe:/a:huawei:euleros:glibc-langpack-ta, p-cpe:/a:huawei:euleros:glibc-langpack-tcy, p-cpe:/a:huawei:euleros:glibc-langpack-te, p-cpe:/a:huawei:euleros:glibc-langpack-tg, p-cpe:/a:huawei:euleros:glibc-langpack-th, p-cpe:/a:huawei:euleros:glibc-langpack-the, p-cpe:/a:huawei:euleros:glibc-langpack-ti, p-cpe:/a:huawei:euleros:glibc-langpack-tig, p-cpe:/a:huawei:euleros:glibc-langpack-tk, p-cpe:/a:huawei:euleros:glibc-langpack-tl, p-cpe:/a:huawei:euleros:glibc-langpack-tn, p-cpe:/a:huawei:euleros:glibc-langpack-to, p-cpe:/a:huawei:euleros:glibc-langpack-tpi, p-cpe:/a:huawei:euleros:glibc-langpack-tr, p-cpe:/a:huawei:euleros:glibc-langpack-ts, p-cpe:/a:huawei:euleros:glibc-langpack-tt, p-cpe:/a:huawei:euleros:glibc-langpack-ug, p-cpe:/a:huawei:euleros:glibc-langpack-uk, p-cpe:/a:huawei:euleros:glibc-langpack-unm, p-cpe:/a:huawei:euleros:glibc-langpack-ur, p-cpe:/a:huawei:euleros:glibc-langpack-uz, p-cpe:/a:huawei:euleros:glibc-langpack-ve, p-cpe:/a:huawei:euleros:glibc-langpack-vi, p-cpe:/a:huawei:euleros:glibc-langpack-wa, p-cpe:/a:huawei:euleros:glibc-langpack-wae, p-cpe:/a:huawei:euleros:glibc-langpack-wal, p-cpe:/a:huawei:euleros:glibc-langpack-wo, p-cpe:/a:huawei:euleros:glibc-langpack-xh, p-cpe:/a:huawei:euleros:glibc-langpack-yi, p-cpe:/a:huawei:euleros:glibc-langpack-yo, p-cpe:/a:huawei:euleros:glibc-langpack-yue, p-cpe:/a:huawei:euleros:glibc-langpack-yuw, p-cpe:/a:huawei:euleros:glibc-langpack-zh, p-cpe:/a:huawei:euleros:glibc-langpack-zu, p-cpe:/a:huawei:euleros:glibc-locale-source, p-cpe:/a:huawei:euleros:glibc-minimal-langpack, p-cpe:/a:huawei:euleros:glibc-static, p-cpe:/a:huawei:euleros:glibc-utils, p-cpe:/a:huawei:euleros:libnsl, p-cpe:/a:huawei:euleros:nscd, p-cpe:/a:huawei:euleros:nss_db, p-cpe:/a:huawei:euleros:nss_hesiod, cpe:/o:huawei:euleros:uvp:3.0.6.0

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/10/2022

Vulnerability Publication Date: 2/24/2021

Reference Information

CVE: CVE-2021-27645, CVE-2021-3999, CVE-2022-23218, CVE-2022-23219