cvekit
LIVE
All CWEs

CWE-571

Expression is Always True

BaseDraftSimple1 CVE
The product contains an expression that will always evaluate to true.

Common consequences1

  • OtherQuality DegradationVaries by Context

Potential mitigations1

  1. Implementation

    Consider refactoring the code, or determine if the code is not including a condition that could cause the expression to become false.

Relationships2

CVEs referencing this CWE1

CVEDescriptionSeverityEPSSFlagsModified
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