5.5
MEDIUM CVSS 3.1
CVE-2022-45787
Apache James MIME4J Unrestricted Temporary File Permissions
Description

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.

INFO

Published Date :

Jan. 6, 2023, 10:15 a.m.

Last Modified :

April 9, 2025, 8:15 p.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2022-45787 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Apache james
2 Apache james_mime4j
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
CVSS 3.1 MEDIUM 134c704f-9b21-4f2e-91b3-4a467353bcc0
Solution
This vulnerability allows for potential information disclosure; upgrading the affected software versions addresses the issue.
  • Upgrade Apache James MIME4J to version 0.8.9 or later.
  • Update Red Hat Single Sign-On packages based on vendor guidance.
  • Update Red Hat JBoss Enterprise Application Platform packages based on vendor guidance.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-45787.

URL Resource
https://lists.apache.org/thread/26s8p9stl1z261c4qw15bsq03tt7t0rj Mailing List Vendor Advisory
https://lists.apache.org/thread/26s8p9stl1z261c4qw15bsq03tt7t0rj Mailing List Vendor Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-45787 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-45787 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-45787 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-45787 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Apr. 09, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
    Added CWE CWE-312
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://lists.apache.org/thread/26s8p9stl1z261c4qw15bsq03tt7t0rj
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Changed Description 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. 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.
  • Modified Analysis by [email protected]

    Jan. 18, 2023

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Jan. 16, 2023

    Action Type Old Value New Value
    Removed CWE Apache Software Foundation CWE-200
    Added CWE Apache Software Foundation CWE-312
    Removed CWE Reason CWE-200 / More specific CWE option available
  • Initial Analysis by [email protected]

    Jan. 12, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://lists.apache.org/thread/26s8p9stl1z261c4qw15bsq03tt7t0rj No Types Assigned https://lists.apache.org/thread/26s8p9stl1z261c4qw15bsq03tt7t0rj Mailing List, Vendor Advisory
    Added CWE NIST CWE-312
    Added CPE Configuration OR *cpe:2.3:a:apache:james:*:*:*:*:mime4j:*:*:* versions up to (excluding) 0.8.9
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 5.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.01 }} -0.00%

score

0.00268

percentile