1. Archivio CVE
  2. 2021
  3. CVE-2021-3797

CVE-2021-3797

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

hestiacp is vulnerable to Use of Wrong Operator in String Comparison

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
hestiacp control panel <= 1.4.12 –
Tutte le 17 vulnerabilità di Hestiacp Control Panel

Tipo di vulnerabilità

CWE-597 Use of Wrong Operator in String Comparison

The product uses the wrong operator when comparing a string, such as using == when the .equals() method should be used instead.

Impatto sui sistemi

AmbitoImpatto
Altro Dipende dal contesto

Come si previene

Sviluppo Within Java, use .equals() to compare string values. Within JavaScript, use == to compare string values. Within PHP, use == to compare a numeric value to a string value. (PHP converts the string to a number.)

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

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

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