cve.bz

CVE-2022-41954 mpxj mpxj: Exposure of Resource to Wrong Sphere

3.3 lowEPSS 0.2%Fix available

Low (3.3) in mpxj mpxj. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in net.sf.mpxj:mpxj 10.14.1.

On this page
MPXJ is an open source library to read and write project plans from a variety of file formats and databases. On Unix-like operating systems (not Windows or macos), MPXJ's use of `File.createTempFile(..)` results in temporary files being created with the permissions `-rw-r--r--`. This means that any other user on the system can read the contents of this file. When MPXJ is reading a schedule file which requires the creation of a temporary file or directory, a knowledgeable local user could locate these transient files while they are in use and would then be able to read the schedule being processed by MPXJ. The problem has been patched, MPXJ version 10.14.1 and later includes the necessary changes. Users unable to upgrade may set `java.io.tmpdir` to a directory to which only the user running the application has access will prevent other users from accessing these temporary files.

Severity

CVSS 3.1

3.3 low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 13th percentile. Scored 2026-11-22. 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-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-668 Exposure of Resource to Wrong Sphere
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
CWE-377 Insecure Temporary File deprecated by MITRE
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • net.sf.mpxj:mpxj (Maven): fixed in 10.14.1
  • net.sf.mpxj (NuGet): fixed in 10.14.1
  • net.sf.mpxj-for-csharp (NuGet): fixed in 10.14.1
  • net.sf.mpxj-for-vb (NuGet): fixed in 10.14.1
  • mpxj (PyPI): fixed in 10.14.1

Ask an AI about this CVE

Show the promptExplain CVE-2022-41954 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-41954?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-41954?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-41954 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 NVD's CPE matches.

ProductAffected
mpxj:mpxjbefore 10.14.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jf2p-4gqj-849gMavennet.sf.mpxj:mpxj<10.14.110.14.1
GHSA-jf2p-4gqj-849gNuGetnet.sf.mpxj<10.14.110.14.1
GHSA-jf2p-4gqj-849gNuGetnet.sf.mpxj-for-csharp<10.14.110.14.1
GHSA-jf2p-4gqj-849gNuGetnet.sf.mpxj-for-vb<10.14.110.14.1
GHSA-jf2p-4gqj-849gPyPImpxj<10.14.110.14.1
PYSEC-2022-42996PyPImpxj<10.14.110.14.1

Attack patterns (CAPEC)

  • CAPEC-149 Explore for Predictable Temporary File Names Severity: Medium
  • CAPEC-155 Screen Temporary Files for Sensitive Information Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON