Skip to content

Certificate validation bug

Critical
andersk published GHSA-5gq6-27q8-qhrg Oct 27, 2020

Package

No package listed

Affected versions

0.5.10 through 5.1.0

Patched versions

5.2.0

Description

Zulip Desktop 0.5.10 introduced a certificate validation handler to support the undocumented ignoreCerts option available by manually editing the configuration file. However, the handler inadvertently disabled all certificate validation, whether or not ignoreCerts was enabled, except during initial association with the server.

The Zulip security team discovered this issue during internal auditing. All versions of Zulip Desktop from 0.5.10 through 5.1.0 are affected.

We have fixed the validation handler to correctly respect the ignoreCerts option, which safely defaults to false. We do not recommend enabling the ignoreCerts option, and we expect to remove it completely in a future release. (Administrators of self-hosted servers should install a valid certificate, as we have always recommended; see our documentation on using Certbot.)

Severity

Critical

CVE ID

CVE-2020-12637

Weaknesses

No CWEs