1. Accueil
  2. Vulnérabilités
  3. CVE-2023-4911

CVE-2023-4911

Glibc: buffer overflow in ld.so leading to privilege escalation

Publiée le 3 oct. 2023 · modifiée le 7 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CISA KEV, CERT-FR, EPSS (FIRST)

Critique 89/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Redhat (59 ligne(s))
Redhat
ProduitVersionsCorrigé dansSource
Hat Enterprise Linux 8 Versions non précisées — CNA (éditeur ou attributeur)
Hat Enterprise Linux 8.6 Extended Update Support Versions non précisées — CNA (éditeur ou attributeur)
Hat Enterprise Linux 9 Versions non précisées — CNA (éditeur ou attributeur)
Hat Enterprise Linux 9.0 Extended Update Support Versions non précisées — CNA (éditeur ou attributeur)
Hat Virtualization 4 for Red Hat Enterprise Linux 8 Versions non précisées — CNA (éditeur ou attributeur)
Codeready linux builder 9.0 — NVD
Codeready linux builder eus 8.6 — NVD
Codeready linux builder eus 9.2 — NVD
Codeready linux builder eus 9.4 — NVD
Codeready linux builder eus 9.6 — NVD
Codeready linux builder for arm64 9.0_aarch64 — NVD
Codeready linux builder for arm64 eus 8.6 — NVD
Codeready linux builder for arm64 eus 9.2_aarch64 — NVD
Codeready linux builder for arm64 eus 9.4_aarch64 — NVD
Codeready linux builder for arm64 eus 9.6_aarch64 — NVD
Codeready linux builder for ibm z systems 9.0_s390x — NVD
Codeready linux builder for ibm z systems eus 8.6 — NVD
Codeready linux builder for ibm z systems eus 9.2_s390x — NVD
Codeready linux builder for ibm z systems eus 9.4_s390x — NVD
Codeready linux builder for ibm z systems eus 9.6_s390x — NVD
Codeready linux builder for power little endian 9.0_ppc64le — NVD
Codeready linux builder for power little endian eus 8.6 — NVD
Codeready linux builder for power little endian eus 9.2_ppc64le — NVD
Codeready linux builder for power little endian eus 9.4_ppc64le — NVD
Codeready linux builder for power little endian eus 9.6_ppc64le — NVD
Enterprise linux 8.0 — NVD
Enterprise linux 9.0 — NVD
Enterprise linux eus 8.6 — NVD
Enterprise linux eus 9.2 — NVD
Enterprise linux eus 9.4 — NVD
Enterprise linux eus 9.6 — NVD
Enterprise linux for arm 64 9.0_aarch64 — NVD
Enterprise linux for arm 64 eus 8.6_aarch64 — NVD
Enterprise linux for arm 64 eus 9.2_aarch64 — NVD
Enterprise linux for arm 64 eus 9.4_aarch64 — NVD
Enterprise linux for arm 64 eus 9.6_aarch64 — NVD
Enterprise linux for ibm z systems 9.0_s390x — NVD
Enterprise linux for ibm z systems eus 9.2_s390x — NVD
Enterprise linux for ibm z systems eus 9.4_s390x — NVD
Enterprise linux for ibm z systems eus 9.6_s390x — NVD
Enterprise linux for ibm z systems eus s390x 8.6 — NVD
Enterprise linux for power big endian eus 8.6_ppc64le — NVD
Enterprise linux for power little endian 9.0_ppc64le — NVD
Enterprise linux for power little endian eus 9.2_ppc64le — NVD
Enterprise linux for power little endian eus 9.4_ppc64le — NVD
Enterprise linux for power little endian eus 9.6_ppc64le — NVD
Enterprise linux server aus 8.6 — NVD
Enterprise linux server aus 9.2 — NVD
Enterprise linux server aus 9.4 — NVD
Enterprise linux server aus 9.6 — NVD
Enterprise linux server for power little endian update services for sap solutions 9.2_ppc64le — NVD
Enterprise linux server for power little endian update services for sap solutions 9.4_ppc64le — NVD
Enterprise linux server for power little endian update services for sap solutions 9.6_ppc64le — NVD
Enterprise linux server tus 8.6 — NVD
Enterprise linux update services for sap solutions 9.2 — NVD
Enterprise linux update services for sap solutions 9.4 — NVD
Enterprise linux update services for sap solutions 9.6 — NVD
Virtualization 4.0 — NVD
Virtualization host 4.0 — NVD
Canonical (2 ligne(s))
Canonical
ProduitVersionsCorrigé dansSource
Ubuntu linux 22.04 — NVD
Ubuntu linux 23.04 — NVD
Debian (2 ligne(s))
Debian
ProduitVersionsCorrigé dansSource
Debian linux 11.0 — NVD
Debian linux 12.0 — NVD
Fedoraproject (3 ligne(s))
Fedoraproject
ProduitVersionsCorrigé dansSource
Fedora 37 — NVD
Fedora 38 — NVD
Fedora 39 — NVD
Gnu (1 ligne(s))
Gnu
ProduitVersionsCorrigé dansSource
Glibc de 2.34 (inclus) à 2.39 (exclu) — NVD
Netapp (7 ligne(s))
Netapp
ProduitVersionsCorrigé dansSource
Bootstrap os Versions non précisées — NVD
H300s firmware Versions non précisées — NVD
H410c firmware Versions non précisées — NVD
H410s firmware Versions non précisées — NVD
H500s firmware Versions non précisées — NVD
H700s firmware Versions non précisées — NVD
Ontap select deploy administration utility Versions non précisées — NVD
Siemens (4 ligne(s))
Siemens
ProduitVersionsCorrigé dansSource
Simatic s7-1500 cpu 1518-4 pn/dp mfp firmware à partir de 3.1.5 (inclus) — NVD
Simatic s7-1500 cpu 1518f-4 pn/dp mfp firmware à partir de 3.1.5 (inclus) — NVD
Simatic s7-1500 tm mfp firmware avant 1.1 (exclu) — NVD
Siplus s7-1500 cpu 1518-4 pn/dp mfp firmware à partir de 3.1.5 (inclus) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Contournementsource officielle

For customers who cannot update immediately and do not have Secure Boot feature enabled, the issue can be mitigated using the provided SystemTap script with the following steps. When enabled, any setuid program invoked with GLIBC_TUNABLES in the environment will be terminated immediately. To invoke the setuid program, users will then have to unset or clear the GLIBC_TUNABLES envvar, e.g. `GLIBC_TUNABLES= sudo` . Note that these mitigation steps will need to be repeated if the system is rebooted. 1) Install required systemtap packages and dependencies as per - https://access.redhat.com/solutions/5441 2) Create the following systemtap script, and name it stap_block_suid_tunables.stp: ~~~ function has_tunable_string:long() { name = "GLIBC_TUNABLES" mm = @task(task_current())->mm; if (mm) { env_start = @mm(mm)->env_start; env_end = @mm(mm)->env_end; if (env_start != 0 && env_end != 0) while (env_end > env_start) { cur = user_string(env_start, ""); env_name = tokenize(cur, "="); if (env_name == name && tokenize("", "") != "") return 1; env_start += strlen (cur) + 1 } } return 0; } probe process("/lib*/ld*.so*").function("__tunables_init") { atsecure = 0; /* Skip processing if we can't read __libc_enable_secure, e.g. core dump handler (systemd-cgroups-agent and systemd-coredump). */ try { atsecure = @var("__libc_enable_secure"); } catch { printk (4, sprintf ("CVE-2023-4911: Skipped check: %s (%d)", execname(), pid())); } if (atsecure && has_tunable_string ()) raise (9); } ~~~ 3) Load the systemtap module into the running kernel: ~~~ stap -g -F -m stap_block_suid_tunables stap_block_suid_tunables.stp ~~~ 4) Ensure the module is loaded: ~~~ lsmod | grep -i stap_block_suid_tunables stap_block_suid_tunables 249856 0 ~~~ 5) Once the glibc package is updated to the version containing the fix, the systemtap generated kernel module can be removed by running: ~~~ rmmod stap_block_suid_tunables ~~~ If Secure Boot is enabled on a system, the SystemTap module must be signed. An external compiling server can be used to sign the generated kernel module with a key enrolled into the kernel's keyring or starting with SystemTap 4.7 you can sign a module without a compile server. See further information here - https://www.redhat.com/sysadmin/secure-boot-systemtap

Source : CNA (éditeur ou attributeur)

Savoir si vous êtes touché

Chronologie

  1. — Publication de la CVE (cve)
  2. — Ajout au catalogue KEV (cisa-kev)
  3. — Exploitation observée (cisa-ssvc) date de première observation
  4. — Preuve de concept publique observée (exploitdb)
  5. — Module d’exploitation public (metasploit) date de première observation
  6. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1385)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-787 · Corruption mémoire

Comment sont obtenues et calculées ces données