1. Archivio CVE
  2. 2025
  3. CVE-2025-30656

CVE-2025-30656

7.5 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 7.5 – Alta

Descrizione

An Improper Handling of Additional Special Element vulnerability in the Packet Forwarding Engine (PFE) of Juniper Networks Junos OS on MX Series with MS-MPC, MS-MIC and SPC3, and SRX Series, allows an unauthenticated, network-based attacker to cause a Denial-of-Service (DoS). If the SIP ALG processes specifically formatted SIP invites, a memory corruption will occur which will lead to a crash of the FPC processing these packets. Although the system will automatically recover with the restart of the FPC, subsequent SIP invites will cause the crash again and lead to a sustained DoS. This issue affects Junos OS on MX Series and SRX Series:  * all versions before 21.2R3-S9, * 21.4 versions before 21.4R3-S10, * 22.2 versions before 22.2R3-S6, * 22.4 versions before 22.4R3-S5, * 23.2 versions before 23.2R2-S3, * 23.4 versions before 23.4R2-S3, * 24.2 versions before 24.2R1-S2, 24.2R2.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
juniper junos 23.4 –
juniper junos 23.4 r1 –
juniper junos 23.4 r1-s1 –
juniper junos 23.4 r1-s2 –
juniper junos 23.4 r2 –
juniper junos 23.4 r2-s1 –
juniper junos 23.4 r2-s2 –
juniper junos 24.2 –
juniper junos 24.2 r1 –
juniper junos 24.2 r1-s1 –
juniper junos 24.2 r2 –
juniper junos < 21.2 –
juniper junos 21.2 –
juniper junos 21.2 r1 –
juniper junos 21.2 r1-s1 –
juniper junos 21.2 r1-s2 –
juniper junos 21.2 r2 –
juniper junos 21.2 r2-s1 –
juniper junos 21.2 r2-s2 –
juniper junos 21.2 r3 –
juniper junos 21.2 r3-s1 –
juniper junos 21.2 r3-s2 –
juniper junos 21.2 r3-s3 –
juniper junos 21.2 r3-s4 –
juniper junos 21.2 r3-s5 –
juniper junos 21.2 r3-s6 –
juniper junos 21.2 r3-s7 –
juniper junos 21.2 r3-s8 –
juniper junos 21.4 –
juniper junos 21.4 r1 –
juniper junos 21.4 r1-s1 –
juniper junos 21.4 r1-s2 –
juniper junos 21.4 r2 –
juniper junos 21.4 r2-s1 –
juniper junos 21.4 r2-s2 –
juniper junos 21.4 r3 –
juniper junos 21.4 r3-s1 –
juniper junos 21.4 r3-s2 –
juniper junos 21.4 r3-s3 –
juniper junos 21.4 r3-s4 –
juniper junos 21.4 r3-s5 –
juniper junos 21.4 r3-s6 –
juniper junos 21.4 r3-s7 –
juniper junos 21.4 r3-s8 –
juniper junos 21.4 r3-s9 –
juniper junos 22.2 –
juniper junos 22.2 r1 –
juniper junos 22.2 r1-s1 –
juniper junos 22.2 r1-s2 –
juniper junos 22.2 r2 –
juniper junos 22.2 r2-s1 –
juniper junos 22.2 r2-s2 –
juniper junos 22.2 r3 –
juniper junos 22.2 r3-s1 –
juniper junos 22.2 r3-s2 –
juniper junos 22.2 r3-s3 –
juniper junos 22.2 r3-s4 –
juniper junos 22.2 r3-s5 –
juniper junos 22.4 –
juniper junos 22.4 r1 –
juniper junos 22.4 r1-s1 –
juniper junos 22.4 r1-s2 –
juniper junos 22.4 r2 –
juniper junos 22.4 r2-s1 –
juniper junos 22.4 r2-s2 –
juniper junos 22.4 r3 –
juniper junos 22.4 r3-s1 –
juniper junos 22.4 r3-s2 –
juniper junos 22.4 r3-s3 –
juniper junos 22.4 r3-s4 –
juniper junos 23.2 –
juniper junos 23.2 r1 –
juniper junos 23.2 r1-s1 –
juniper junos 23.2 r1-s2 –
juniper junos 23.2 r2 –
juniper junos 23.2 r2-s1 –
juniper junos 23.2 r2-s2 –
Tutte le 793 vulnerabilità di Juniper Junos

Tipo di vulnerabilità

CWE-167 Improper Handling of Additional Special Element

The product receives input from an upstream component, but it does not handle or incorrectly handles when an additional unexpected special element is provided.

Impatto sui sistemi

AmbitoImpatto
Integrità Stato imprevisto

Come si previene

Developers should anticipate that extra special elements will be injected in the input vectors of their product. Use an appropriate combination of denylists and allowlists to ensure only valid, expected and appropriate input is processed by the system.
Sviluppo · Validazione dell’input Considera ogni input come potenzialmente malevolo. Adotta una validazione per «elenco di valori ammessi»: accetta solo gli input che rispettano rigorosamente le specifiche e rifiuta, o trasforma in qualcosa di conforme, tutto il resto. Nel validare considera tutte le proprietà rilevanti: lunghezza, tipo, intervallo dei valori ammessi, input mancanti o in più, sintassi, coerenza tra campi collegati e rispetto delle regole di business (per esempio «barca» è sintatticamente valido perché contiene solo lettere, ma non lo è se il campo deve contenere solo colori come rosso o blu). Non limitarti a cercare input malevoli o malformati: quasi certamente ne sfuggirà qualcuno, soprattutto se l’ambiente del codice cambia, lasciando all’attaccante lo spazio per aggirare la validazione. Le liste di valori vietati restano utili per rilevare possibili attacchi o scartare subito gli input più malformati.
Sviluppo · Codifica dell’output Usare stringhe di query, codice o comandi generati dinamicamente che mescolano controllo e dati è rischioso, ma a volte è inevitabile. In quel caso racchiudi correttamente gli argomenti tra virgolette e applica l’escaping a ogni carattere speciale. L’approccio più prudente è applicare l’escaping o filtrare tutti i caratteri che non rientrano in un elenco molto ristretto (per esempio tutto ciò che non è alfanumerico o spazio); se servono caratteri speciali, racchiudi ogni argomento tra virgolette dopo il filtraggio. Attenzione all’argument injection (CWE-88).
Sviluppo · Validazione dell’input Inputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180). Make sure that the application does not decode the same input twice (CWE-174). Such errors could be used to bypass allowlist validation schemes by introducing dangerous inputs after they have been checked.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 5 CVE di tipo CWE-167, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org