Rocky Linux 8 : glibc (RLSA-2022:0896)

critical Nessus Plugin ID 184981

Synopsis

The remote Rocky Linux host is missing one or more security updates.

Description

The remote Rocky Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the RLSA-2022:0896 advisory.

- 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 Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://errata.rockylinux.org/RLSA-2022:0896

https://bugzilla.redhat.com/show_bug.cgi?id=2024637

https://bugzilla.redhat.com/show_bug.cgi?id=2042013

https://bugzilla.redhat.com/show_bug.cgi?id=2042017

Plugin Details

Severity: Critical

ID: 184981

File Name: rocky_linux_RLSA-2022-0896.nasl

Version: 1.0

Type: local

Published: 11/7/2023

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

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/15/2022

Vulnerability Publication Date: 1/14/2022

Reference Information

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