AlmaLinux 9 : glibc (ALSA-2023:5453)

high Nessus Plugin ID 182694

Synopsis

The remote AlmaLinux host is missing one or more security updates.

Description

The remote AlmaLinux 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the ALSA-2023:5453 advisory.

- A flaw was found in glibc. When the getaddrinfo function is called with the AF_UNSPEC address family and the system is configured with no-aaaa mode via /etc/resolv.conf, a DNS response via TCP larger than 2048 bytes can potentially disclose stack contents through the function returned address data, and may cause a crash. (CVE-2023-4527)

- A flaw was found in glibc. In an extremely rare situation, the getaddrinfo function may access memory that has been freed, resulting in an application crash. This issue is only exploitable when a NSS module implements only the _nss_*_gethostbyname2_r and _nss_*_getcanonname_r hooks without implementing the
_nss_*_gethostbyname3_r hook. The resolved name should return a large number of IPv6 and IPv4, and the call to the getaddrinfo function should have the AF_INET6 address family with AI_CANONNAME, AI_ALL and AI_V4MAPPED as flags. (CVE-2023-4806)

- A flaw was found in glibc. In an uncommon situation, the gaih_inet function may use memory that has been freed, resulting in an application crash. This issue is only exploitable when the getaddrinfo function is called and the hosts database in /etc/nsswitch.conf is configured with SUCCESS=continue or SUCCESS=merge.
(CVE-2023-4813)

- A buffer overflow was discovered in the GNU C Library's dynamic loader ld.so while processing the GLIBC_TUNABLES environment variable. This issue could allow a local attacker to use maliciously crafted GLIBC_TUNABLES environment variables when launching binaries with SUID permission to execute code with elevated privileges. (CVE-2023-4911)

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.almalinux.org/9/ALSA-2023-5453.html

Plugin Details

Severity: High

ID: 182694

File Name: alma_linux_ALSA-2023-5453.nasl

Version: 1.4

Type: local

Published: 10/6/2023

Updated: 1/29/2024

Supported Sensors: Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Critical

Score: 9.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.9

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

CVSS Score Source: CVE-2023-4911

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7.5

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

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

Vulnerability Information

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

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/5/2023

Vulnerability Publication Date: 9/12/2023

CISA Known Exploited Vulnerability Due Dates: 12/12/2023

Exploitable With

Core Impact

Metasploit (Glibc Tunables Privilege Escalation CVE-2023-4911 (aka Looney Tunables))

Reference Information

CVE: CVE-2023-4527, CVE-2023-4806, CVE-2023-4813, CVE-2023-4911

CWE: 121, 122, 416