Descrizione

A flaw was found in 389-ds-base. The get_ldapmessage_controls_ext() function in the LDAP server does not enforce an upper bound on the number of controls per LDAP message. A remote, unauthenticated attacker can send a specially crafted LDAP request containing hundreds of thousands of minimal controls within the default maximum BER message size (2 MB), causing excessive CPU consumption and heap allocation on the server. Under concurrent exploitation, this leads to significant latency degradation, worker thread starvation, or out-of-memory termination, resulting in a 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 Directory Server: vulnerabile la versione 13.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 6.0 → installare l'ultima release supportata dal 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:

  • Applicare rate limiting e limiti sulle risorse a monte del servizio e monitorarne la disponibilità.

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 Directory Server 13.0 —
Redhat 389 Directory Server — —
Redhat Enterprise Linux 6.0 —
Redhat Enterprise Linux 7.0 —
Redhat Enterprise Linux 8.0 —
Redhat Enterprise Linux 9.0 —
Redhat Enterprise Linux 10.0 —

Riferimenti