CVE-2022-45787
MEDIUM 5.5CVSS 3.1Apache 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.
- Published
- 6 Jan 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-200CWE-312
- Also known as
- GHSA-q84x-3476-8ff2
- Sources
- NVDJSONOSV GHSA-q84x-3476-8ff2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | jamescpe:2.3:a:apache:james:*:*:*:*:mime4j:*:*:* |
< 0.8.9 | 0.8.9 |
| OSV | Maven | org.apache.james:apache-mime4j-storage | < 0.8.9 | 0.8.9 |
References
- https://lists.apache.org/thread/26s8p9stl1z261c4qw15bsq03tt7t0rj · Mailing List, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-45787 · ADVISORY
- https://github.com/apache/james-mime4j/commit/021eb79ba312fe5a7f99fa867ee5350aa5533069 · WEB
- https://github.com/apache/james-mime4j · PACKAGE
- https://github.com/apache/james-mime4j/blob/master/CHANGELOG.md#089---2022-12-30 · WEB
- https://issues.apache.org/jira/browse/MIME4J-322 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 6 Jan 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 6 Jan 2023)