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.
3 published CVE records name this weakness. Abstraction: Variant. Status: Draft. CWE-597 at MITRE
| CVE | Title | CVSS | EPSS | Published |
|---|---|---|---|---|
| CVE-2021-4259 | phpRedisAdmin login.inc.php authHttpDigest wrong operator in string comparison | 5.0 medium | 0.88% | 19 Dec 2022 |
| CVE-2022-36072 | SilverwareGames.io used == for hashing instead of === | 5.9 medium | 0.59% | 6 Sep 2022 |
| CVE-2021-3797 | Use of Wrong Operator in String Comparison in hestiacp/hestiacp | 4.8 medium | 1.15% | 15 Sep 2021 |