Apache James MIME4J vulnerable to information disclosure to local users
Unproper laxist permissions on the temporary files used by MIME4J TempFileStorageProvider may lead to information disclosure to other local users. This issue affects Apache James MIME4J version 0.8.8 and prior versions. We recommend users to upgrade to MIME4j version 0.8.9 or later.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.james:apache-mime4j-storage | < 0.8.9 | 0.8.9 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-45787
- https://github.com/apache/james-mime4j/commit/021eb79ba312fe5a7f99fa867ee5350aa5533069
- https://github.com/apache/james-mime4j
- https://github.com/apache/james-mime4j/blob/master/CHANGELOG.md#089---2022-12-30
- https://issues.apache.org/jira/browse/MIME4J-322
- https://lists.apache.org/thread/26s8p9stl1z261c4qw15bsq03tt7t0rj
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-200, CWE-312- Platform
- Java / Kotlin (Maven)
- Package
org.apache.james:apache-mime4j-storage- Disclosed
- 06.01.2023
- Updated
- 11.10.2026 11:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-q84x-3476-8ff2 - CC BY 4.0
Vulnerability history: org.apache.james:apache-mime4j-storage
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.