CVE-2024-41909: Apache MINA SSHD Integrity Check Bypass Vulnerability
HIGHCVE-2024-41909 is a HIGH (CVSS 5.9) integrity check bypass vulnerability (CWE-354: Improper Validation of Integrity Check Value) affecting Apache MINA SSHD libraries in the Maven ecosystem. The issue involves integrity check bypass. Remediation is available by upgrading affected packages to version 2.12.0.
CVE-2024-41909 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2024-41909
To remediate this vulnerability, upgrade all affected Apache MINA SSHD dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.sshd</groupId>
<artifactId>sshd-common</artifactId>
<version>2.12.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.sshd
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2024-41909, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.sshd
Analyze the terminal output to locate any version of Apache MINA SSHD in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.12.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.sshd command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-354: Improper Validation of Integrity Check Value, where the product does not validate or incorrectly validates the integrity check values or "checksums" of a message. this may prevent it from detecting if the data has been modified or corrupted in transmission. In Apache MINA SSHD, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-41909 Affected Apache MINA SSHD Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.sshd:sshd-common
|
Maven |
< 2.12.0
|
2.12.0
|
References
Frequently Asked Questions
What is CVE-2024-41909?
Which Apache MINA SSHD versions are affected?
What version fixes CVE-2024-41909?
Is sshd-common affected?
What is the CVSS score of CVE-2024-41909?
What CWE is associated with CVE-2024-41909?
How can I check Maven dependencies for CVE-2024-41909?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2326-hx7g-3m9r",
"modified" : "2025-03-27T23:38:06Z",
"published" : "2024-08-12T18:30:47Z",
"aliases" : [ "CVE-2024-41909" ],
"summary" : "Apache MINA SSHD: integrity check bypass",
"details" : "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 \nsome security features have been downgraded or disabled, aka a Terrapin \nattack\n\nThe 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" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.sshd:sshd-common"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.12.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-41909"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/mina-sshd/issues/445"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/mina-sshd/pull/449"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/mina-sshd/commit/315739e4e9d1dc7a4ff32ea64936982ed0b73e76"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/mina-sshd/commit/6b0fd46f64bcb75eeeee31d65f10242660aad7c1"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/mina-sshd/commit/7b2c781640a7a78a9455b86593a1f63c9e8cab92"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/mina-sshd"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/mina-sshd/releases/tag/sshd-2.12.0"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/vwf1ot8wx1njyy8n19j5j2tcnjnozt3b"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20241011-0006"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-354" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-08-12T19:52:15Z",
"nvd_published_at" : "2024-08-12T16:15:15Z"
}
}