Descrizione
FFmpeg before 9.1 contains an XML injection vulnerability in write_adaptation_set() in libavformat/webmdashenc.c that writes stream language metadata unescaped into the AdaptationSet lang attribute. Attackers can supply crafted WebM files whose track language contains quotes or angle brackets to inject attributes or elements, controlling segment URLs and representations in generated MPD manifests.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 3.3, EPSS 0.4% (percentile 25).
Versioni da aggiornare
- Ffmpeg Ffmpeg: vulnerabili le versioni precedenti alla
9.1→ aggiornare alla9.1o successiva.
Patch e advisory
- Patch: code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24917
- Patch: github.com/FFmpeg/FFmpeg/commit/bc2316e2d1dcc3a…
- Advisory di terze parti: www.vulncheck.com/advisories/ffmpeg-before-9.1-xml-inj…
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre l'esposizione del componente vulnerabile (segmentazione, accesso solo da reti fidate) finché la patch non è applicata.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Ffmpeg | Ffmpeg | < 9.1 | 9.1 |
Riferimenti
- Patchhttps://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24917
- Patchhttps://github.com/FFmpeg/FFmpeg/commit/bc2316e2d1dcc3a6687b7d46a3ed6bae42b8a9ba
- Advisory di terze partihttps://www.vulncheck.com/advisories/ffmpeg-before-9.1-xml-injection-via-webm-dash-manifest-lang-attribute
- Riferimentohttps://github.com/FFmpeg/FFmpeg
- Riferimentohttps://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/webmdashenc.c#L337