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-2024-41909

CVE-2024-41909: Apache Mina SSHD Terrapin Attack Vulnerability

CVE-2024-41909 is a privilege escalation vulnerability in Apache Mina SSHD linked to the Terrapin attack, allowing security feature downgrades. This article covers technical details, affected versions, and mitigations.

Updated: January 22, 2026

CVE-2024-41909 Overview

CVE-2024-41909 is a protocol vulnerability in Apache MINA SSHD that allows attackers to perform a Terrapin attack (also known as CVE-2023-48795). This man-in-the-middle vulnerability enables attackers who can intercept traffic between SSH client and server to drop certain packets from the stream, potentially causing both endpoints to establish a connection where security features have been downgraded or disabled.

Critical Impact

Attackers intercepting SSH traffic can manipulate the connection handshake to downgrade or disable security features, compromising the integrity of SSH communications between client and server.

Affected Products

  • Apache MINA SSHD (versions prior to 2.12.0)
  • Both client-side and server-side SSHD implementations
  • Applications and services using Apache MINA SSHD for SSH connectivity

Discovery Timeline

  • 2024-08-12 - CVE-2024-41909 published to NVD
  • 2025-03-27 - Last updated in NVD database

Technical Details for CVE-2024-41909

Vulnerability Analysis

This vulnerability stems from Apache MINA SSHD's susceptibility to the Terrapin attack, a cryptographic protocol manipulation that affects SSH implementations. The attack exploits weaknesses in the SSH Binary Packet Protocol (BPP) during the initial handshake phase.

When an SSH connection is established, the Terrapin attack allows a man-in-the-middle attacker to manipulate sequence numbers during the handshake. By carefully dropping specific encrypted packets from the data stream, the attacker can cause the client and server to desynchronize their sequence number counters. This desynchronization enables the attacker to downgrade the connection's security properties without either endpoint detecting the manipulation.

The vulnerability affects the integrity of the SSH channel establishment, meaning that while the connection may appear secure to both parties, certain negotiated security features may have been silently disabled or weakened.

Root Cause

The root cause is improper integrity checking during the SSH handshake phase (CWE-354: Improper Validation of Integrity Check Value). Apache MINA SSHD, like many SSH implementations, did not implement strict key exchange countermeasures that would detect and prevent packet manipulation during the connection establishment phase. The SSH protocol's design allowed sequence number manipulation without proper validation, enabling the Terrapin attack vector.

Attack Vector

The attack requires a network position that allows interception of traffic between SSH client and server. An attacker must be able to perform man-in-the-middle operations on the network path, which is typically achievable through:

  • ARP spoofing on local networks
  • DNS hijacking
  • Compromised network infrastructure
  • BGP hijacking for targeted attacks
  • Rogue access points or compromised routers

Once positioned, the attacker intercepts the SSH handshake and selectively drops packets to manipulate the negotiated security parameters. The vulnerability exploits the Binary Packet Protocol's handling of encrypted packets during the key exchange phase.

Detection Methods for CVE-2024-41909

Indicators of Compromise

  • Unusual SSH connection negotiation patterns or handshake failures
  • SSH connections with unexpected or downgraded cipher suites
  • Network traffic showing dropped or manipulated SSH packets during handshake
  • Sequence number anomalies in SSH session logs
  • Alerts from intrusion detection systems for SSH protocol manipulation

Detection Strategies

  • Deploy network monitoring to identify man-in-the-middle attack patterns on SSH traffic
  • Implement SSH connection auditing to log negotiated cipher suites and security features
  • Monitor for connections using weaker than expected encryption algorithms
  • Use network intrusion detection systems with signatures for Terrapin attack patterns
  • Compare negotiated security parameters against expected baseline configurations

Monitoring Recommendations

  • Enable verbose logging on SSH servers and clients to capture negotiation details
  • Implement network flow analysis to detect SSH traffic interception attempts
  • Deploy endpoint detection to monitor for suspicious network positioning attacks
  • Regularly audit SSH server configurations and connected client security parameters
  • Monitor for ARP spoofing or DNS manipulation on networks hosting SSH services

How to Mitigate CVE-2024-41909

Immediate Actions Required

  • Upgrade Apache MINA SSHD to version 2.12.0 or later on all affected systems
  • Ensure BOTH client and server implementations are upgraded, as the mitigation requires updates on both ends
  • Review and update any applications or services that embed Apache MINA SSHD
  • Audit current SSH connections and re-establish them after patching

Patch Information

Apache has released mitigations in Apache MINA SSHD version 2.12.0 that address this vulnerability on both client and server implementations. Users should upgrade to at least version 2.12.0 to receive protection against the Terrapin attack. The official advisory is available on the Apache Mailing List Thread. Additional information can be found in the GitHub Issue #445 and NetApp Security Advisory NTAP-20241011-0006.

Workarounds

  • Implement network segmentation to limit exposure of SSH services to trusted network segments
  • Deploy strict firewall rules to restrict SSH access to known, trusted IP addresses
  • Use VPN or other secure tunnels for SSH traffic traversing untrusted networks
  • Enable SSH host key verification and certificate-based authentication to detect MITM attempts
  • Consider disabling vulnerable cipher modes if immediate patching is not possible
bash
# Verify Apache MINA SSHD version in Maven-based projects
mvn dependency:tree | grep mina-sshd

# Update pom.xml to use patched version
# Change version to 2.12.0 or later:
# <dependency>
#     <groupId>org.apache.sshd</groupId>
#     <artifactId>sshd-core</artifactId>
#     <version>2.12.0</version>
# </dependency>

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechApache Mina Sshd

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.48%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-354
  • Technical References
  • GitHub Issue #445

  • NetApp Security Advisory NTAP-20241011-0006
  • Vendor Resources
  • Apache Mailing List Thread
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs Path Traversal Vulnerability
Default Legacy - Prefooter | 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