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.
Weakness
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2025-04-23 |
Timeline
- 2022-11-25Published by the CNA00:00 UTC
- 2022-11-28GitHub advisory published (GHSA-jf2p-4gqj-849g)3 days after publication
- 2025-04-23CISA SSVC decision recorded880 days after publication
Exploit and advisory records
GitHub advisory GHSA-jf2p-4gqj-849g, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven net.sf.mpxj:mpxj | before 10.14.1 | 10.14.1 |
| NuGet net.sf.mpxj | before 10.14.1 | 10.14.1 |
| NuGet net.sf.mpxj-for-csharp | before 10.14.1 | 10.14.1 |
| NuGet net.sf.mpxj-for-vb | before 10.14.1 | 10.14.1 |
| PyPI mpxj | before 10.14.1 | 10.14.1 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| mpxj mpxj | before 10.14.1fixed in 10.14.1 | 10.14.1 |
References
- https://github.com/joniles/mpxj/commit/ae0af24345d79ad45705265d9927fe55e94a5721
- https://github.com/joniles/mpxj/security/advisories/GHSA-jf2p-4gqj-849g
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2022-41954'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2022-41954'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2022-41954'curl 'https://api.contrastcyber.com/cve_products/CVE-2022-41954'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).