Live threats

All CVEs / Mpxj

CVE-2022-41954Mpxj

Low 3.3

Priority
20
CVSS 3.1
3.3
EPSS
0.3%
probability of exploitation in 30 days · percentile 12
Auth required
Yes
Published
Nov 25, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-200, CWE-377, CWE-668
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mpxj.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven net.sf.mpxj:mpxj < 10.14.1 10.14.1 —
NuGet net.sf.mpxj < 10.14.1 10.14.1 dotnet add package net.sf.mpxj --version 10.14.1
NuGet net.sf.mpxj-for-csharp < 10.14.1 10.14.1 dotnet add package net.sf.mpxj-for-csharp --version 10.14.1
NuGet net.sf.mpxj-for-vb < 10.14.1 10.14.1 dotnet add package net.sf.mpxj-for-vb --version 10.14.1
PyPI mpxj < 10.14.1 10.14.1 pip install "mpxj>=10.14.1"
PyPI mpxj < 10.14.1 10.14.1 pip install "mpxj>=10.14.1"

Per OSV / GitHub Advisories (GHSA-jf2p-4gqj-849g, PYSEC-2022-42996). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mpxjmpxj< 10.14.1

Official sources

References

Links published by the sources. Open them with care.