CWE-597 Use of Wrong Operator in String Comparison
variantThe product uses the wrong operator when comparing a string, such as using "==" when the .equals() method should be used instead.
01
parent weaknesses
Broader classes this is a kind of.
02
vulnerabilities (4)
Known CVEs related to this entry.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2021-4259US | critical9.8 | — | ||
A vulnerability was found in phpRedisAdmin up to 1.16.1. It has been classified as problematic. This affects the function authHttpDigest of the file includes/login.inc.php. The man… | ||||
| CVE-2021-3797US | critical9.8 | — | ||
hestiacp is vulnerable to Use of Wrong Operator in String Comparison | ||||
| CVE-2022-36072US | medium5.9 | — | ||
SilverwareGames.io is a social network for users to play video games online. In version 1.1.8 and prior, due to an unobvious feature of PHP, hashes generated by built-in functions… | ||||
| CVE-2026-80579US | — | — | ||
In the Linux kernel, the following vulnerability has been resolved:
fbdev: clear fb_info->mode before deleting a videomode
fb_set_var() can delete a mode from info->modelist when… | ||||
03
source
Where this definition is published.
MITREUS
scry
Weaknesses like this turn up in real, exploitable exposures. See what is exposed on your perimeter with a free passive scan.
Free scan