cve.bz

CVE-2022-45787 apache james

5.5 mediumEPSS 0.3%Fix available

Medium (5.5) in apache james. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.james:apache-mime4j-storage 0.8.9.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 21st percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-04-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-312 Cleartext Storage of Sensitive Information
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-45787 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-45787?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-45787?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-45787 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache James MIME4Jthrough 0.8.8

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-q84x-3476-8ff2Mavenorg.apache.james:apache-mime4j-storage<0.8.90.8.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-activemq-artemis-native1:1.0.2-3.redhat_00004.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-apache-mime4j0:0.8.9-1.redhat_00001.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-artemis-native, eap7-artemis-native-wildfly, eap7-artemis-native-debuginfo1:1.0.2-4.redhat_00004.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-artemis-wildfly-integration0:1.0.7-1.redhat_00001.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-infinispan, eap7-infinispan-core, eap7-infinispan-commons and 7 more0:11.0.17-1.Final_redhat_00001.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-ironjacamar, eap7-ironjacamar-jdbc, eap7-ironjacamar-core-api and 6 more0:1.5.11-1.Final_redhat_00001.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-ejb-client0:4.0.50-1.Final_redhat_00001.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-el-api_3.0_spec0:2.0.1-1.Final_redhat_00001.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-metadata, eap7-jboss-metadata-ear, eap7-jboss-metadata-ejb and 3 more0:13.4.0-1.Final_redhat_00001.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-server-migration, eap7-jboss-server-migration-cli, eap7-jboss-server-migration-core0:1.10.0-26.Final_redhat_00025.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jbossws-cxf0:5.4.8-1.Final_redhat_00001.1.el7eapRHSA-2023:1512
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jbossws-spi0:3.4.0-2.Final_redhat_00001.1.el7eapRHSA-2023:1512
51 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat build of Quarkus 2.13.8.Finalorg.apache.james/apache-mime4j-storage:0.8.9.redhat-00001Fixed 2023-06-29RHSA-2023:3809
Red Hat JBoss Enterprise Application Platformorg.apache.james/apache-mime4j-core:0.8.9.redhat-00001Fixed 2023-03-29RHSA-2023:1516
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-activemq-artemis-native-1:1.0.2-3.redhat_00004.1.el8eapFixed 2023-03-29RHSA-2023:1513
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-apache-mime4j-0:0.8.9-1.redhat_00001.1.el8eapFixed 2023-03-29RHSA-2023:1513
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-artemis-native-1:1.0.2-4.redhat_00004.1.el8eapFixed 2023-03-29RHSA-2023:1513
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-artemis-wildfly-integration-0:1.0.7-1.redhat_00001.1.el8eapFixed 2023-03-29RHSA-2023:1513
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-infinispan-0:11.0.17-1.Final_redhat_00001.1.el8eapFixed 2023-03-29RHSA-2023:1513
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-ironjacamar-0:1.5.11-1.Final_redhat_00001.1.el8eapFixed 2023-03-29RHSA-2023:1513
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-jboss-ejb-client-0:4.0.50-1.Final_redhat_00001.1.el8eapFixed 2023-03-29RHSA-2023:1513
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-jboss-el-api_3.0_spec-0:2.0.1-1.Final_redhat_00001.1.el8eapFixed 2023-03-29RHSA-2023:1513
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel8Not affected
Migration Toolkit for Applications 6org.keycloak-keycloak-parentNot affected
Migration Toolkit for Runtimesorg.keycloak-keycloak-parentNot affected
Red Hat build of Apache Camel for Spring Boot 3apache-james-mime4jFix deferred
Red Hat Data Grid 8apache-james-mime4jNot affected
Red Hat Decision Manager 7apache-james-mime4jOut of support scope
Red Hat Fuse 7apache-james-mime4jOut of support scope
Red Hat Integration Camel K 1apache-james-mime4jFix deferred
Red Hat Integration Camel Quarkus 1apache-james-mime4jWill not fix
Red Hat JBoss Data Grid 7apache-james-mime4jOut of support scope
69 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-45787.

Attack patterns (CAPEC)

  • CAPEC-37 Retrieve Embedded Sensitive Data Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON