1. Archivio CVE
  2. 2026
  3. CVE-2026-41568

CVE-2026-41568

6.1 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:H 6.1 – Media

Descrizione

Moby is an open source container framework. In Docker Engine prior to version 29.5.1, Docker Daemon versions 28.5.2 and prior, and Moby Daemon prior to version 2.0.0-beta.14, a race condition during docker cp mount setup allows a malicious container to create empty files or directories at arbitrary absolute paths on the host filesystem. This issue has been patched in Docker Engine version 29.5.1 and Moby Daemon version 2.0.0-beta.14.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
docker engine < 29.5.1 –
mobyproject moby <= 28.5.2 –
mobyproject moby/v2 2.0.0 beta0 –
mobyproject moby/v2 2.0.0 beta1 –
mobyproject moby/v2 2.0.0 beta10 –
mobyproject moby/v2 2.0.0 beta11 –
mobyproject moby/v2 2.0.0 beta12 –
mobyproject moby/v2 2.0.0 beta13 –
mobyproject moby/v2 2.0.0 beta2 –
mobyproject moby/v2 2.0.0 beta3 –
mobyproject moby/v2 2.0.0 beta4 –
mobyproject moby/v2 2.0.0 beta5 –
mobyproject moby/v2 2.0.0 beta6 –
mobyproject moby/v2 2.0.0 beta7 –
mobyproject moby/v2 2.0.0 beta8 –
mobyproject moby/v2 2.0.0 beta9 –
Tutte le 21 vulnerabilità di Mobyproject Moby

Tipo di vulnerabilità

CWE-81 Improper Neutralization of Script in an Error Message Web Page

The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters that could be interpreted as web-scripting elements when they are sent to an error page.

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Integrità, Disponibilità Leggere i dati dell’applicazione, Eseguire codice o comandi non autorizzati

Come si previene

Sviluppo Do not write user-controlled input to error pages.
Sviluppo Carefully check each input parameter against a rigorous positive specification (allowlist) defining the specific characters and format allowed. All input should be neutralized, not just parameters that the user is supposed to specify, but all data in the request, including hidden fields, cookies, headers, the URL itself, and so forth. A common mistake that leads to continuing XSS vulnerabilities is to validate only fields that are expected to be redisplayed by the site. We often encounter data from the request that is reflected by the application server or the application that the development team did not anticipate. Also, a field that is not currently reflected may be used by a future developer. Therefore, validating ALL parts of the HTTP request is recommended.
Sviluppo · Codifica dell’output Specifica una codifica dei caratteri (per esempio UTF-8) che il componente che legge l’output sappia gestire. Se la codifica non è indicata, quel componente può sceglierne un’altra, per impostazione predefinita o deducendola in modo errato; quando le codifiche non coincidono, alcune sequenze di caratteri possono diventare «speciali» pur non essendolo nell’originale, e un attaccante può sfruttare la differenza per attacchi di injection o per aggirare le protezioni. Il problema è frequente nelle pagine web: se la codifica non è indicata nell’intestazione HTTP, i browser tendono a indovinarla, aprendo la strada ad attacchi XSS sottili.
Sviluppo Con Struts, scrivi tutti i dati provenienti dai form bean con l’attributo filter del bean impostato a true.
Sviluppo · Riduzione della superficie di attacco Per limitare gli attacchi XSS contro il cookie di sessione, impostalo come HttpOnly: nei browser che lo supportano impedisce agli script malevoli di leggerlo tramite document.cookie. Non è una soluzione completa, perché non tutti i browser lo supportano e perché XmlHttpRequest e altre tecnologie del browser permettono comunque di leggere le intestazioni HTTP, compresa quella Set-Cookie in cui è impostato HttpOnly.

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

Tutte le 3 CVE di tipo CWE-81, con andamento e prevenzione

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