1. Archivio CVE
  2. 2019
  3. CVE-2019-16778

CVE-2019-16778

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

Descrizione

In TensorFlow before 1.15, a heap buffer overflow in UnsortedSegmentSum can be produced when the Index template argument is int32. In this case data_size and num_segments fields are truncated from int64 to int32 and can produce negative numbers, resulting in accessing out of bounds heap memory. This is unlikely to be exploitable and was detected and fixed internally in TensorFlow 1.15 and 2.0.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
google tensorflow >= 1.0.0 < 1.15.0 –
Tutte le 431 vulnerabilità di Google Tensorflow

Tipo di vulnerabilità

CWE-681 Incorrect Conversion between Numeric Types

When converting from one data type to another, such as long to integer, data can be omitted or translated in a way that produces unexpected values. If the resulting values are used in a sensitive context, then dangerous behaviors may occur.

Impatto sui sistemi

AmbitoImpatto
Altro, Integrità Stato imprevisto, Degradare la qualità

Come si previene

Sviluppo Avoid making conversion between numeric types. Always check for the allowed ranges.

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

Tutte le 123 CVE di tipo CWE-681, con andamento e prevenzione

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