CVE-2024-45626: James server jmap draft Denial of Service Vulnerability
HIGHCVE-2024-45626 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting James server jmap draft libraries in the Maven ecosystem. The issue involves apache james vulnerable to denial of service through jmap html to text conversion. Remediation is available by upgrading affected packages to version 3.8.2, 3.7.6.
CVE-2024-45626 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2024-45626
To remediate this vulnerability, upgrade all affected James server jmap draft 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.james</groupId>
<artifactId>james-server-jmap-draft</artifactId>
<version>3.8.2</version>
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>james-server-jmap-draft</artifactId>
<version>3.7.6</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.james
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2024-45626, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.james
Analyze the terminal output to locate any version of James server jmap draft in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.8.2), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.james 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-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In James server jmap draft, 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-45626 Affected James server jmap draft Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.james:james-server-jmap-draft
|
Maven |
≥ 3.8.0
< 3.8.2
|
3.8.2
|
|
org.apache.james:james-server-jmap-draft
|
Maven |
< 3.7.6
|
3.7.6
|
References
Frequently Asked Questions
What is CVE-2024-45626?
Which James server jmap draft versions are affected?
What version fixes CVE-2024-45626?
Is james-server-jmap-draft affected?
What is the CVSS score of CVE-2024-45626?
What CWE is associated with CVE-2024-45626?
How can I check Maven dependencies for CVE-2024-45626?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-57m2-h3fw-rxhw",
"modified" : "2025-02-11T19:04:24Z",
"published" : "2025-02-06T12:31:58Z",
"aliases" : [ "CVE-2024-45626" ],
"summary" : "Apache James vulnerable to denial of service through JMAP HTML to text conversion",
"details" : "Apache James server JMAP HTML to text plain implementation in versions below 3.8.2 and 3.7.6 is subject to unbounded memory consumption that can result in a denial of service.\n\nUsers are recommended to upgrade to version 3.7.6 and 3.8.2, which fix this issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.james:james-server-jmap-draft"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.8.0"
}, {
"fixed" : "3.8.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.james:james-server-jmap-draft"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.7.6"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-45626"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/james-project/pull/1422"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/james-project/commit/372f1f83b6825fb0f92147803a9bf215b8ff690d"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/james-project/commit/537ae380f9837f74c075f0ed2b625affa9b20122"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/linagora/james-project"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/1fr9hvpsylomwwfr3rv82g84sxszn4kl"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2025/02/05/7"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-02-06T19:02:30Z",
"nvd_published_at" : "2025-02-06T12:15:27Z"
}
}