CVE-2022-41954

Description

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
LOW
CVSS v3
3.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N · source cna
Exploit chance (EPSS)
0.215%
chance of exploitation in the next 30 days
higher than 12% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationnone
Automatableno
Technical impactpartial
Scored2025-04-23

Timeline

  1. 2022-11-25Published by the CNA00:00 UTC
  2. 2022-11-28GitHub advisory published (GHSA-jf2p-4gqj-849g)3 days after publication
  3. 2025-04-23CISA SSVC decision recorded880 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-jf2p-4gqj-849g, affected packages:

PackageVulnerable versionsFixed in
Maven net.sf.mpxj:mpxjbefore 10.14.110.14.1
NuGet net.sf.mpxjbefore 10.14.110.14.1
NuGet net.sf.mpxj-for-csharpbefore 10.14.110.14.1
NuGet net.sf.mpxj-for-vbbefore 10.14.110.14.1
PyPI mpxjbefore 10.14.110.14.1

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
mpxj mpxjbefore 10.14.1fixed in 10.14.110.14.1

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources