cve.bz

CVE-2024-41909 (Terrapin) apache mina sshd

5.9 mediumEPSS 0.6%Fix available

Known as Terrapin

Medium (5.9) in apache mina sshd. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.sshd:sshd-common 2.12.0.

On this page
Like many other SSH implementations, Apache MINA SSHD suffered from the issue that is more widely known as CVE-2023-48795. An attacker that can intercept traffic between client and server could drop certain packets from the stream, potentially causing client and server to consequently end up with a connection for which some security features have been downgraded or disabled, aka a Terrapin attack The mitigations to prevent this type of attack were implemented in Apache MINA SSHD 2.12.0, both client and server side. Users are recommended to upgrade to at least this version. Note that both the client and the server implementation must have mitigations applied against this issue, otherwise the connection may still be affected.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-09-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-354 Improper Validation of Integrity Check Value
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-41909 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-41909?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-41909?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-41909 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache MINA SSHDthrough 2.11.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2326-hx7g-3m9rMavenorg.apache.sshd:sshd-common<2.12.02.12.0

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Above CVE is classified as a moderate severity issue rather than an important one due to its reliance on specific conditions for exploitation. The vulnerability, known as a Terrapin attack, requires an attacker to have the capability to intercept and manipulate packets between the SSH client and server. This level of access is not commonly available in most network environments, reducing the likelihood of widespread exploitation. Additionally, the impact of the attack—where security features may be downgraded or disabled—depends on the attacker's ability to perform packet drops without detection, which further limits the potential for significant damage.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
EAP 8.0.1Fixed 2024-03-06RHSA-2024:1194
A-MQ Clients 2sshd-commonWill not fix
OpenShift Developer Tools and ServicesjenkinsNot affected
Red Hat build of Apache Camel 4 for Quarkus 3sshd-commonNot affected
Red Hat build of Apache Camel for Spring Boot 3sshd-commonWill not fix
Red Hat build of Apache Camel for Spring Boot 4sshd-commonNot affected
Red Hat build of Apache Camel - HawtIO 4sshd-commonNot affected
Red Hat build of Quarkusorg.apache.sshd.sshd-commonNot affected
Red Hat Data Grid 8org.apache.sshd/apache-sshdNot affected
Red Hat Data Grid 8sshd-commonNot affected
Red Hat Fuse 7sshd-commonWill not fix
Red Hat Integration Camel K 1sshd-commonWill not fix
Red Hat JBoss Enterprise Application Platform 7org.apache.sshd/apache-sshdNot affected
Red Hat JBoss Enterprise Application Platform 7sshd-commonNot affected
Red Hat JBoss Enterprise Application Platform 8org.apache.sshd/apache-sshdNot affected
Red Hat JBoss Enterprise Application Platform 8sshd-commonAffected
Red Hat JBoss Enterprise Application Platform 8sshd-common-2.12.1.redhatNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packorg.apache.sshd/apache-sshdNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packsshd-commonNot affected
Red Hat JBoss Web Server 6sshd-commonNot affected
5 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-41909.

Attack patterns (CAPEC)

  • CAPEC-75 Manipulating Writeable Configuration Files Likelihood: High · Severity: Very High
  • CAPEC-145 Checksum Spoofing Severity: Medium
  • CAPEC-463 Padding Oracle Crypto Attack Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON