The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2020-14145

CVE-2020-14145: OpenSSH Information Disclosure Vulnerability

CVE-2020-14145 is an information disclosure flaw in OpenSSH versions 5.7 through 8.4 that allows MITM attacks during initial connections. This article covers technical details, affected versions, and mitigation.

Published: March 11, 2026

CVE-2020-14145 Overview

CVE-2020-14145 is an information disclosure vulnerability in the OpenSSH client affecting versions 5.7 through 8.4, with some reports indicating versions 8.5 and 8.6 are also affected. The vulnerability exists in the client-side algorithm negotiation process, where an observable discrepancy allows attackers to determine whether a client has previously connected to a specific server. This information leak enables man-in-the-middle (MITM) attackers to target initial connection attempts where no host key for the server has been cached by the client.

Critical Impact

Attackers positioned in a network path can exploit the algorithm negotiation timing to identify first-time SSH connections, enabling targeted MITM attacks against users connecting to new servers without cached host keys.

Affected Products

  • OpenBSD OpenSSH versions 5.7 through 8.6
  • NetApp AFF A700s Firmware
  • NetApp Active IQ Unified Manager (VMware vSphere)
  • NetApp HCI Management Node
  • NetApp ONTAP Select Deploy Administration Utility
  • NetApp SolidFire
  • NetApp SteelStore Cloud Integrated Storage
  • NetApp HCI Compute Node
  • NetApp HCI Storage Node

Discovery Timeline

  • 2020-06-29 - CVE-2020-14145 published to NVD
  • 2025-12-18 - Last updated in NVD database

Technical Details for CVE-2020-14145

Vulnerability Analysis

The vulnerability stems from an observable discrepancy in the SSH client's algorithm negotiation behavior during the initial connection handshake. When an OpenSSH client connects to a server, it proposes a list of supported cryptographic algorithms for key exchange, encryption, and MAC operations. The order and content of these algorithm lists differ depending on whether the client has a cached host key for the target server.

This behavioral difference creates a side-channel that attackers can exploit. When the client has previously connected to a server and cached its host key, the algorithm negotiation process follows a different pattern compared to first-time connections. An attacker observing the network traffic can detect this discrepancy without needing to decrypt the SSH traffic.

The practical impact is significant for initial connections: attackers can identify users connecting to servers for the first time and mount MITM attacks with a higher probability of success, as these connections lack the protection of a pre-cached host key verification.

Root Cause

The root cause is the observable difference in algorithm preference ordering based on the client's known_hosts cache state. The OpenSSH client implementation did not adequately mask the distinction between connections to known versus unknown hosts during the algorithm negotiation phase. This timing and ordering discrepancy violates the principle of avoiding information leakage through observable behavior variations (CWE-203: Observable Discrepancy).

Attack Vector

The attack requires a network-based man-in-the-middle position between the SSH client and the target server. The attacker observes the algorithm negotiation packets during the SSH handshake to determine whether the client has previously connected to the server.

The attack flow proceeds as follows:

  1. The attacker positions themselves in the network path between the victim and the SSH server
  2. When the victim initiates an SSH connection, the attacker captures the algorithm negotiation packets
  3. By analyzing the algorithm list ordering and timing characteristics, the attacker determines if this is a first-time connection
  4. If the connection is identified as a first-time connection (no cached host key), the attacker proceeds with a MITM attack
  5. The attacker can present their own host key, which the client may accept since there is no cached key to compare against

For detailed technical information about the exploitation mechanism, refer to the SSH-MITM CVE-2020-14145 Documentation and the FZI Security Article on Information Leak.

Detection Methods for CVE-2020-14145

Indicators of Compromise

  • Unexpected SSH host key change warnings when connecting to known servers
  • Network traffic anomalies indicating interception between SSH clients and servers
  • Presence of unauthorized certificates or keys in connection logs
  • Users reporting host key verification failures for previously trusted servers

Detection Strategies

  • Monitor for SSH connection attempts that fail host key verification followed by successful connections with different keys
  • Implement network-level detection for MITM attack patterns in SSH traffic
  • Deploy SSH fingerprint monitoring to detect unauthorized key presentations
  • Analyze SSH client logs for algorithm negotiation anomalies

Monitoring Recommendations

  • Enable detailed SSH client logging to capture algorithm negotiation details
  • Implement centralized logging for SSH connection events across the organization
  • Deploy network intrusion detection systems (IDS) with SSH traffic analysis capabilities
  • Regularly audit known_hosts files for unexpected modifications or new entries

How to Mitigate CVE-2020-14145

Immediate Actions Required

  • Upgrade OpenSSH to version 8.4P1 or later, which includes the fix for this vulnerability
  • Implement strict host key checking (StrictHostKeyChecking yes) in SSH client configurations
  • Pre-populate known_hosts files with verified server host keys before initial connections
  • Train users to verify host key fingerprints through out-of-band channels for new connections

Patch Information

The vulnerability has been addressed in the OpenSSH codebase. The relevant fix can be found in OpenSSH Commit b3855ff. Organizations should update to patched versions as documented in the GitHub OpenSSH Port Comparison between versions 8.3P1 and 8.4P1.

For NetApp products, refer to the NetApp Security Advisory NTAP-20200709-0004 for specific guidance. Gentoo Linux users should consult Gentoo GLSA 2021-05-35 Advisory.

Workarounds

  • Configure SSH clients with StrictHostKeyChecking yes to prevent automatic acceptance of unknown host keys
  • Distribute verified host keys via secure channels (e.g., configuration management systems) before first connections
  • Use SSH certificate-based authentication with a trusted Certificate Authority to eliminate reliance on known_hosts caching
  • Implement network segmentation to reduce MITM attack opportunities
bash
# SSH client hardening configuration (~/.ssh/config or /etc/ssh/ssh_config)
Host *
    StrictHostKeyChecking yes
    UpdateHostKeys yes
    VerifyHostKeyDNS yes

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechOpenssh

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability1.25%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-203
  • Technical References
  • SSH-MITM CVE-2020-14145 Documentation

  • SSH-MITM CVE-2020-14145 PoC

  • Gentoo GLSA 2021-05-35 Advisory

  • NetApp Security Advisory NTAP-20200709-0004

  • FZI Security Article on Information Leak
  • Vendor Resources
  • Openwall OSS-Security List Update

  • OpenSSH Commit b3855ff

  • GitHub OpenSSH Port Comparison
  • Related CVEs
  • CVE-2026-35414: OpenSSH Information Disclosure Vulnerability

  • CVE-2026-21670: SSH Credential Disclosure Vulnerability

  • CVE-2024-39894: OpenSSH Timing Attack Vulnerability

  • CVE-2026-35388: OpenSSH Privilege Escalation Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English