{"cve":"CVE-2022-41954","nvd":{"published":"2022-11-25T19:15:12.023","modified":"2026-06-17T05:04:07.813","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":3.3},"cwes":["CWE-668","CWE-200","CWE-377"],"references":["https://github.com/joniles/mpxj/commit/ae0af24345d79ad45705265d9927fe55e94a5721","https://github.com/joniles/mpxj/security/advisories/GHSA-jf2p-4gqj-849g","https://github.com/joniles/mpxj/commit/ae0af24345d79ad45705265d9927fe55e94a5721","https://github.com/joniles/mpxj/security/advisories/GHSA-jf2p-4gqj-849g"],"products":["mpxj:mpxj"],"source":"nvd","synced_at":"2026-10-19T21:37:28.463369388+00:00"},"epss":{"cve":"CVE-2022-41954","score":0.00215,"percentile":0.11983,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-jf2p-4gqj-849g","url":"https://osv.dev/vulnerability/GHSA-jf2p-4gqj-849g","summary":"Temporary File Information Disclosure vulnerability in MPXJ","modified":"2024-09-26T15:00:06.813259Z","packages":[{"ecosystem":"Maven","name":"net.sf.mpxj:mpxj","purl":"pkg:maven/net.sf.mpxj/mpxj","ranges":["<10.14.1"],"fixed":["10.14.1"]},{"ecosystem":"NuGet","name":"net.sf.mpxj","purl":"pkg:nuget/net.sf.mpxj","ranges":["<10.14.1"],"fixed":["10.14.1"]},{"ecosystem":"NuGet","name":"net.sf.mpxj-for-csharp","purl":"pkg:nuget/net.sf.mpxj-for-csharp","ranges":["<10.14.1"],"fixed":["10.14.1"]},{"ecosystem":"NuGet","name":"net.sf.mpxj-for-vb","purl":"pkg:nuget/net.sf.mpxj-for-vb","ranges":["<10.14.1"],"fixed":["10.14.1"]},{"ecosystem":"PyPI","name":"mpxj","purl":"pkg:pypi/mpxj","ranges":["<10.14.1"],"fixed":["10.14.1"]}]},{"id":"PYSEC-2022-42996","url":"https://osv.dev/vulnerability/PYSEC-2022-42996","summary":"","modified":"2023-11-08T04:10:36.916085Z","packages":[{"ecosystem":"PyPI","name":"mpxj","purl":"pkg:pypi/mpxj","ranges":["<10.14.1"],"fixed":["10.14.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}