CWE-571
Expression is Always True
Common consequences1
- OtherQuality DegradationVaries by Context
Potential mitigations1
- Implementation
Consider refactoring the code, or determine if the code is not including a condition that could cause the expression to become false.
CVEs referencing this CWE1
| CVE | Description | Severity | EPSS | Flags | Modified |
|---|---|---|---|---|---|
| CVE-2022-31017 | Zulip is an open-source team collaboration tool. Versions 2.1.0 through and including 5.2 are vulnerable to a logic error. A stream configured as private with protected history, where new subscribers should not be allowed to see messages sent before they were subscribed, when edited causes the server to incorrectly send an API event that includes the edited message to all of the stream’s current subscribers. This API event is ignored by official clients, but can be observed by using a modified client or the browser’s developer tools. This bug will be fixed in Zulip Server 5.3. There are no known workarounds. | LOW2.6 | 0.48%p38 | 2025-04-23 |