Descrizione

MISP contains a Regular Expression Denial of Service (ReDoS) vulnerability in its Warninglist feature. Warninglist entries of type "regex" are evaluated against attribute values without any backtracking limit. An authenticated user with permission to add or import warninglist entries can supply a crafted regular expression pattern that triggers excessive backtracking in the PCRE engine, causing sustained CPU consumption and denial of service. Additionally, imported warninglists were not validated for syntactic correctness before replacing existing entries, allowing malformed or malicious patterns to be persisted and later evaluated without prior rejection. Preconditions: - An authenticated account with the ability to create, edit, or import warninglist entries (users below site-admin level can add entries). - The target MISP instance has at least one warninglist of type "regex" that will be evaluated against incoming attribute values. Impact: - Sustained CPU exhaustion leading to denial of service for all users of the MISP instance. - Potential for cascading performance degradation on shared infrastructure. Affected versions: MISP prior to 2.5.52.

Testo originale del record CVE (in inglese).

Come correggere

Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.1, EPSS 0.6% (percentile 43).

Versioni da aggiornare

  • MISP MISP: vulnerabili le versioni precedenti alla 2.5.52 → aggiornare alla 2.5.52 o successiva.

Indicazioni del vendor

Soluzione (testo originale del vendor):

The vulnerability is remediated by imposing a PCRE backtracking limit of 100000 steps during regex evaluation of warninglist entries. Patterns that exceed the limit or otherwise fail to evaluate are cached, skipped on subsequent evaluations, and logged once. The original backtracking limit is restored after evaluation. Additionally, the import path now validates all entries (regex and CIDR) before any existing data is replaced, preventing malformed or malicious patterns from being persisted.

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
MISP MISP < 2.5.52 2.5.52

Riferimenti