Descrizione

A stack buffer overflow flaw was found in 389 Directory Server (389-ds-base). The get_ruvelement_from_berval() function in repl5_ruv.c copies digit characters from a network-supplied RUV berval into a fixed 16-byte stack buffer without bounds checking. A remote unauthenticated attacker can crash the LDAP server by sending a crafted StartNSDS50ReplicationRequest extended operation containing a replica ID field with more than 16 digit characters. The overflow occurs during payload decoding, before any authorization check. Stack protectors limit impact to denial of service.

Testo originale del record CVE (in inglese).

Come correggere

Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.5.

Versioni da aggiornare

  • Redhat Directory Server: vulnerabile la versione 11.0 → installare l'ultima release supportata dal vendor.
  • Redhat Directory Server: vulnerabile la versione 12.0 → installare l'ultima release supportata dal vendor.
  • Redhat 389 Directory Server: versioni non specificate → verificare l'advisory del vendor.
  • Redhat Enterprise Linux: vulnerabile la versione 7.0 → installare l'ultima release supportata dal vendor.
  • Redhat Enterprise Linux: vulnerabile la versione 8.0 → installare l'ultima release supportata dal vendor.
  • Redhat Enterprise Linux: vulnerabile la versione 9.0 → installare l'ultima release supportata dal vendor.
  • Redhat Enterprise Linux: vulnerabile la versione 10.0 → installare l'ultima release supportata dal vendor.

Patch e advisory

Mitigazioni temporanee

Da applicare solo se non è possibile aggiornare subito:

  • Ridurre la superficie esposta (disattivare servizi e funzionalità inutilizzati), mantenere attive le protezioni del sistema operativo (ASLR, DEP/NX) e segmentare la rete.

Verifica

  1. Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
  2. Confrontare la versione installata con quelle indicate sopra.
  3. Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
  4. Ripetere la scansione per confermare la correzione.

Configurazioni interessate

VendorProdottoVersioni vulnerabiliCorretta in
Redhat Directory Server 11.0 —
Redhat Directory Server 12.0 —
Redhat 389 Directory Server — —
Redhat Enterprise Linux 7.0 —
Redhat Enterprise Linux 8.0 —
Redhat Enterprise Linux 9.0 —
Redhat Enterprise Linux 10.0 —

Riferimenti