CVE-2020-37248

Startup TLS Trust Issue Enables Credential Disclosure

Published Jun 8, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
OfflineIMAP before 8.0.3 trusts the server with their STARTTLS capability prior to authentication, which allows STRIPTLS/man-in-the-middle attacks, taking over the connection and extracting account credentials in cleartext.

Analysis

AI-generated

Technical impact

OfflineIMAP versions before 8.0.3 accept the server's STARTTLS capability before authenticating the user. This trust flaw allows an attacker who can act as a man‑in‑the‑middle or spoof the server to force the client to downgrade the connection, taking over and reading the plaintext login credentials. The impact is loss of confidentiality for stored email account credentials, which could lead to full account compromise and unauthorized access to the user's mail data.

Affected Systems

The product affected is OfflineIMAP, an open source IMAP client. Versions older than 8.0.3, including all releases prior to and including 8.0.2, are vulnerable. The vulnerability appears in all distributions of OfflineIMAP that advertise STARTTLS capability during the initial handshake.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity. Since the EPSS score is not provided, the current exploit likelihood cannot be quantified precisely, but the flaw enables a straightforward MITM attack against any connection over an untrusted network. The vulnerability is not listed in the CISA KEV catalog, suggesting no widespread commercial exploitation is documented yet. Attackers would need network access to intercept traffic between the client and the mail server; once achieved, they can impersonate the server and capture credentials before encryption is established.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OfflineIMAP to 8.0.3 or later, which enforces authentication before STARTTLS negotiation.
  • Configure OfflineIMAP to reject any STARTTLS advertisement prior to authentication if an upgrade is not immediately possible.
  • Apply network segmentation or VPN to limit exposure of the client to untrusted networks and monitor for unexpected TLS negotiation.

Generated by OpenCVE AI on June 8, 2026 at 16:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Startup TLS Trust Issue Enables Credential Disclosure
Type Values Removed Values Added
Description OfflineIMAP before 8.0.3 trusts the server with their STARTTLS capability prior to authentication, which allows STRIPTLS/man-in-the-middle attacks, taking over the connection and extracting account credentials in cleartext.
First Time appeared Offlineimap
Offlineimap offlineimap
Weaknesses CWE-348
CPEs cpe:2.3:a:offlineimap:offlineimap:*:*:*:*:*:*:*:*
Vendors & Products Offlineimap
Offlineimap offlineimap
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N'}

Weaknesses
  • CWE-348

    Use of Less Trusted Source

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jun 8, 2026, 6:49 PM
Reserved
Jun 8, 2026, 3:05 PM
Status
Deferred
Published
Jun 8, 2026, 4:16 PM
Modified
Jul 23, 2026, 7:10 AM