LiveActive security incident?Get immediate response
CVE Record

CVE-2022-31017: Expression Always True vulnerability in Zulip Server

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.

LowCVSS 2Not KEV-listedUpdated
Glexia's TakeAutomated analysislow

Security readout for executives and security teams

Plain-English summary

Some Zulip private streams could leak edited old messages to current stream subscribers who should not see pre-subscription history. Official Zulip clients ignored the event, but a modified client or browser developer tools could observe it. The issue is low severity because it is narrow, limited to confidentiality, and requires specific conditions.

Executive priority

Treat this as a targeted confidentiality bug, not a broad compromise indicator. Prioritize upgrade if Zulip private streams carry sensitive information or protected history is relied on for access control.

Technical view

Zulip Server 2.1.0 through 5.2 has a logic error affecting private streams with protected history. When an older message is edited, the server may send an API event containing that edited message to all current subscribers, including newer subscribers who should not receive past history. Fixed in Zulip Server 5.3; no workaround is listed.

Likely exposure

Exposure is limited to Zulip Server deployments running versions 2.1.0 through 5.2 that use private streams with protected history. The at-risk data is edited message content from before a subscriber joined that stream.

Exploitation context

The bundle does not cite active exploitation, and CISA KEV status is false. Observability requires a modified client or browser developer tools because official clients ignore the event. The CVSS vector indicates network access, high privileges, high complexity, and user interaction.

Researcher notes

The affected behavior is server-side event emission, not display in official clients. Evidence in the bundle is sufficient for affected versions, trigger conditions, fixed version, and lack of workaround, but it does not provide exploitation telemetry or impact scope beyond edited message disclosure.

Mitigation direction

  • Upgrade Zulip Server to version 5.3 or later.
  • Review Zulip advisory guidance before relying on compensating controls.
  • Do not assume a workaround; the advisory states none are known.
  • Identify protected-history private streams that may contain sensitive history.
  • Avoid sensitive edits in affected streams until the server is upgraded.

Validation and detection

  • Inventory Zulip Server versions and flag 2.1.0 through 5.2.
  • Confirm whether private streams use protected history.
  • Review whether sensitive pre-subscription messages were edited while affected.
  • Verify production is upgraded to Zulip Server 5.3 or later.
  • Document any potentially exposed streams for incident review.
Prepared
Confidence
high
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-571: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · low confidence lookup

CWE-670: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-31017 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Low
CVSS
2 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
2CVSS 3.1LowCVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N0.51.4Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

2Low
CVSS 3.1 vector shape for CVE-2022-31017Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
zulipzulip>= 2.1.0, < 5.3Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-571 · source CWE mapping

Expression is Always True

Expression is Always True represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-670 · source CWE mapping

Always-Incorrect Control Flow Implementation

Always-Incorrect Control Flow Implementation represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.