Apache James vulnerable to denial of service through JMAP HTML to text conversionGHSA-57m2-h3fw-rxhw
HIGHFix: apache/james-project#1422GHSA-57m2-h3fw-rxhw is a high-severity (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in org.apache.james:james-server-jmap-draft. A fix is available for org.apache.james:james-server-jmap-draft — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.apache.james:james-server-jmap-draft☕org.apache.james:james-server-jmap-draftReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
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.
Users are recommended to upgrade to version 3.7.6 and 3.8.2, which fix this issue.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.james:james-server-jmap-draft | ≥ 3.8.0&&< 3.8.2 | 3.8.2org.apache.james:james-server-jmap-draft:3.8.2 |
| ☕Maven | org.apache.james:james-server-jmap-draft | all versions | 3.7.6org.apache.james:james-server-jmap-draft:3.7.6 |
Affected Products
james serverapacheDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.james:james-server-jmap-draft, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.james:james-server-jmap-draft to 3.8.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-57m2-h3fw-rxhw is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is GHSA-57m2-h3fw-rxhw in your dependencies?
Find it across Maven, including transitive dependencies.