1. Archivio CVE
  2. 2007
  3. CVE-2007-3917

CVE-2007-3917

7.8 Gravità alta CVSS v2.0 · fonte NVD AV:N/AC:L/Au:N/C:N/I:N/A:C 7.8 – Alta

Descrizione

The multiplayer engine in Wesnoth 1.2.x before 1.2.7 and 1.3.x before 1.3.9 allows remote servers to cause a denial of service (crash) via a long message with multibyte characters that can produce an invalid UTF-8 string after it is truncated, which triggers an uncaught exception, involving the truncate_message function in server/server.cpp. NOTE: this issue affects both clients and servers.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
wesnoth wesnoth 1.2 –
wesnoth wesnoth 1.2.1 –
wesnoth wesnoth 1.2.2 –
wesnoth wesnoth 1.2.3 –
wesnoth wesnoth 1.2.4 –
wesnoth wesnoth 1.2.5 –
wesnoth wesnoth 1.2.6 –
wesnoth wesnoth 1.3.1 –
wesnoth wesnoth 1.3.2 –
wesnoth wesnoth 1.3.3 –
wesnoth wesnoth 1.3.4 –
wesnoth wesnoth 1.3.5 –
wesnoth wesnoth 1.3.6 –
wesnoth wesnoth 1.3.7 –
wesnoth wesnoth 1.3.8 –

Tipo di vulnerabilità

CWE-134 Stringa di formato controllata dall’esterno (format string)

Il prodotto usa una funzione che accetta una stringa di formato, ma quella stringa proviene da una fonte esterna.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere la memoria
Integrità, Riservatezza, Disponibilità Modificare la memoria, Eseguire codice o comandi non autorizzati

Come si previene

Requisiti Choose a language that is not subject to this flaw.
Sviluppo Ensure that all format string functions are passed a static string which cannot be controlled by the user, and that the proper number of arguments are always sent to that function as well. If at all possible, use functions that do not support the %n operator in format strings.
Build e compilazione Run compilers and linkers with high warning levels, since they may detect incorrect usage.

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

Tutte le 435 CVE di tipo CWE-134, con andamento e prevenzione

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