1. Archivio CVE
  2. 2022
  3. CVE-2022-32138

CVE-2022-32138

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

Descrizione

In multiple CODESYS products, a remote attacker may craft a request which may cause an unexpected sign extension, resulting in a denial-of-service condition or memory overwrite.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
codesys plcwinnt >= 2.0 < 2.4.7.57 –
codesys runtime toolkit >= 2.0 < 2.4.7.57 –
Tutte le 17 vulnerabilità di Codesys Plcwinnt

Tipo di vulnerabilità

CWE-194 Unexpected Sign Extension

The product performs an operation on a number that causes it to be sign extended when it is transformed into a larger data type.

Impatto sui sistemi

AmbitoImpatto
Integrità, Riservatezza, Disponibilità, Altro Leggere la memoria, Modificare la memoria, Altro

Come si previene

Sviluppo Avoid using signed variables if you don't need to represent negative values. When negative values are needed, perform validation after you save those values to larger data types, or before passing them to functions that are expecting unsigned values.

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

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

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