CVE-2023-40303
NixOS Analisi e mitigazione delle vulnerabilità

Panoramica

GNU inetutils before version 2.5 contains a privilege escalation vulnerability (CVE-2023-40303) due to unchecked return values of set*id() family functions in multiple components including ftpd, rcp, rlogin, rsh, rshd, and uucpd. The vulnerability was discovered in July 2023 and affects systems where these components are installed (GNU Bug Report, NVD).

Dettagli tecnici

The vulnerability stems from the failure to verify return values from privilege-dropping functions such as setuid(), setgid(), seteuid(), and setguid() in multiple components. This oversight is particularly relevant when a process attempts to drop privileges before allowing an ordinary user to control its activities. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (High) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating local access requirements but high potential impact (NVD).

Impatto

The vulnerability could lead to privilege escalation, potentially allowing attackers to execute code with elevated privileges. In the case of rshd, if the daemon runs as root, privilege escalation is possible as any user logging in after a set*id() failure would have their session started as root. For rlogin, local privilege escalation is possible as the binary is setUID root, and for uucpd, there is potential for remote privilege escalation to root for already valid users (GNU Bug Report).

Mitigazione e soluzioni alternative

The vulnerability has been fixed in GNU inetutils version 2.5, released on December 29, 2023. The fix involves adding proper return value checking for all set*id() family functions. Various distributions have also backported the fix, including Debian which patched the issue in their LTS release (Debian Advisory, GNU Patch).

Risorse aggiuntive


FonteQuesto report è stato generato utilizzando l'intelligenza artificiale

Imparentato NixOS Vulnerabilità:

CVE ID

Severità

Punteggio

Tecnologie

Nome del componente

Exploit CISA KEV

Ha la correzione

Data di pubblicazione

CVE-2026-22864CRITICAL9.8
  • RustRust
  • deno
NoJan 15, 2026
CVE-2026-23527CRITICAL9.8
  • JavaScriptJavaScript
  • h3
NoJan 15, 2026
CVE-2026-22863CRITICAL9.2
  • RustRust
  • deno
NoJan 15, 2026
CVE-2026-22045HIGH7.5
  • NixOSNixOS
  • traefik-2
NoJan 15, 2026
CVE-2026-0915HIGH7.5
  • NixOSNixOS
  • glibc-langpack-bho
NoJan 15, 2026

Valutazione gratuita delle vulnerabilità

Benchmark della tua posizione di sicurezza del cloud

Valuta le tue pratiche di sicurezza cloud in 9 domini di sicurezza per confrontare il tuo livello di rischio e identificare le lacune nelle tue difese.

Richiedi valutazione

Richiedi una demo personalizzata

Pronti a vedere Wiz in azione?

"La migliore esperienza utente che abbia mai visto offre piena visibilità ai carichi di lavoro cloud."
David EstlickCISO (CISO)
"Wiz fornisce un unico pannello di controllo per vedere cosa sta succedendo nei nostri ambienti cloud."
Adam FletcherResponsabile della sicurezza
"Sappiamo che se Wiz identifica qualcosa come critico, in realtà lo è."
Greg PoniatowskiResponsabile della gestione delle minacce e delle vulnerabilità