{"id":"GHSA-jf2p-4gqj-849g","summary":"Temporary File Information Disclosure vulnerability in MPXJ","details":"### Impact\nOn 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 type of 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.\n\n### Patches\nThe problem has been patched, MPXJ version 10.14.1 and later includes the necessary changes.\n\n### Workarounds\nSetting `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.\n\n### For more information\nIf you have any questions or comments about this advisory\n* Open an issue in https://github.com/joniles/mpxj\n","aliases":["CVE-2022-41954","PYSEC-2022-42996"],"modified":"2024-09-26T15:00:06.813259Z","published":"2022-11-28T22:09:09Z","database_specific":{"cwe_ids":["CWE-200","CWE-668"],"severity":"LOW","github_reviewed":true,"github_reviewed_at":"2022-11-28T22:09:09Z","nvd_published_at":"2022-11-25T19:15:00Z"},"references":[{"type":"WEB","url":"https://github.com/joniles/mpxj/security/advisories/GHSA-jf2p-4gqj-849g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41954"},{"type":"WEB","url":"https://github.com/joniles/mpxj/commit/287ad0234213c52b0638565e14bd9cf3ed44cedd"},{"type":"WEB","url":"https://github.com/joniles/mpxj/commit/ae0af24345d79ad45705265d9927fe55e94a5721"},{"type":"PACKAGE","url":"https://github.com/joniles/mpxj"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/mpxj/PYSEC-2022-42996.yaml"}],"affected":[{"package":{"name":"net.sf.mpxj:mpxj","ecosystem":"Maven","purl":"pkg:maven/net.sf.mpxj/mpxj"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.14.1"}]}],"versions":["10.0.0","10.0.1","10.0.3","10.0.4","10.0.5","10.1.0","10.10.0","10.11.0","10.12.0","10.13.0","10.14.0","10.2.0","10.3.0","10.4.0","10.5.0","10.6.0","10.6.1","10.6.2","10.7.0","10.8.0","10.9.0","10.9.1","4.7.1","4.7.2","4.7.3","4.7.4","4.7.5","4.7.6","5.0.0","5.1.0","5.1.10","5.1.11","5.1.12","5.1.13","5.1.15","5.1.16","5.1.17","5.1.18","5.1.4","5.1.9","5.10.0","5.11.0","5.12.0","5.13.0","5.14.0","5.2.0","5.2.1","5.2.2","5.3.0","5.3.1","5.3.2","5.3.3","5.4.0","5.5.0","5.5.1","5.5.2","5.5.3","5.5.4","5.5.5","5.5.6","5.5.7","5.5.8","5.5.9","5.6.0","5.6.1","5.6.2","5.6.3","5.6.4","5.6.5","5.7.0","5.7.1","5.8.0","5.9.0","6.0.0","6.1.0","6.1.2","6.2.0","7.0.0","7.0.1","7.0.2","7.0.3","7.1.0","7.2.0","7.2.1","7.3.0","7.4.0","7.4.1","7.4.2","7.4.3","7.4.4","7.5.0","7.6.0","7.6.1","7.6.2","7.6.3","7.7.0","7.7.1","7.8.0","7.8.1","7.8.2","7.8.3","7.8.4","7.9.0","7.9.1","7.9.2","7.9.3","7.9.4","7.9.5","7.9.7","7.9.8","8.0.0","8.0.2","8.0.3","8.0.4","8.0.5","8.0.6","8.0.7","8.0.8","8.1.0","8.1.1","8.1.2","8.1.3","8.1.4","8.2.0","8.3.0","8.3.1","8.3.2","8.3.3","8.3.4","8.3.5","8.4.0","8.5.0","8.5.1","9.0.0","9.1.0","9.2.0","9.2.1","9.2.2","9.2.3","9.2.4","9.2.5","9.2.6","9.3.0","9.3.1","9.4.0","9.5.0","9.5.1","9.5.2","9.6.0","9.7.0","9.8.0","9.8.1","9.8.2","9.8.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-jf2p-4gqj-849g/GHSA-jf2p-4gqj-849g.json"}},{"package":{"name":"net.sf.mpxj","ecosystem":"NuGet","purl":"pkg:nuget/net.sf.mpxj"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.14.1"}]}],"versions":["10.0.0","10.0.1","10.0.2","10.0.3","10.0.4","10.0.5","10.1.0","10.10.0","10.11.0","10.12.0","10.13.0","10.14.0","10.2.0","10.3.0","10.4.0","10.5.0","10.6.0","10.6.1","10.6.2","10.7.0","10.8.0","10.9.0","10.9.1","4.6.0","4.6.1","4.6.2","4.7.0","4.7.1","4.7.3","4.7.4","4.7.5","4.7.6","5.0.0","5.1.0","5.1.10","5.1.11","5.1.12","5.1.13","5.1.15","5.1.16","5.1.17","5.1.18","5.1.4","5.1.5","5.1.9","5.10.0","5.11.0","5.12.0","5.13.0","5.14.0","5.2.0","5.2.1","5.2.2","5.3.0","5.3.1","5.3.2","5.3.3","5.4.0","5.5.0","5.5.1","5.5.2","5.5.3","5.5.4","5.5.5","5.5.6","5.5.7","5.5.8","5.5.9","5.6.0","5.6.1","5.6.2","5.6.3","5.6.4","5.6.5","5.7.0","5.7.1","5.8.0","5.9.0","6.0.0","6.1.0","6.1.2","6.2.0","6.2.1","7.0.0","7.0.1","7.0.2","7.0.3","7.1.0","7.2.0","7.2.1","7.3.0","7.4.0","7.4.1","7.4.2","7.4.3","7.4.4","7.5.0","7.6.0","7.6.1","7.6.2","7.6.3","7.7.0","7.7.1","7.8.0","7.8.1","7.8.2","7.8.3","7.8.4","7.9.0","7.9.1","7.9.2","7.9.3","7.9.4","7.9.5","7.9.7","7.9.8","8.0.0","8.0.1","8.0.2","8.0.3","8.0.4","8.0.5","8.0.6","8.0.8","8.1.0","8.1.1","8.1.2","8.1.3","8.1.4","8.2.0","8.3.0","8.3.1","8.3.2","8.3.3","8.3.4","8.3.5","8.4.0","8.5.0","8.5.1","9.0.0","9.1.0","9.2.0","9.2.1","9.2.2","9.2.3","9.2.4","9.2.5","9.2.6","9.3.0","9.3.1","9.4.0","9.5.0","9.5.1","9.5.2","9.6.0","9.7.0","9.8.0","9.8.1","9.8.2","9.8.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-jf2p-4gqj-849g/GHSA-jf2p-4gqj-849g.json"}},{"package":{"name":"net.sf.mpxj-for-csharp","ecosystem":"NuGet","purl":"pkg:nuget/net.sf.mpxj-for-csharp"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.14.1"}]}],"versions":["10.0.0","10.0.1","10.0.2","10.0.3","10.0.4","10.0.5","10.1.0","10.10.0","10.11.0","10.12.0","10.13.0","10.14.0","10.2.0","10.3.0","10.4.0","10.5.0","10.6.0","10.6.1","10.6.2","10.7.0","10.8.0","10.9.0","10.9.1","4.6.1","4.6.2","4.7.0","4.7.1","4.7.3","4.7.4","4.7.5","4.7.6","5.0.0","5.1.0","5.1.10","5.1.11","5.1.12","5.1.13","5.1.15","5.1.16","5.1.17","5.1.18","5.1.4","5.1.5","5.1.9","5.10.0","5.11.0","5.12.0","5.13.0","5.14.0","5.2.0","5.2.1","5.2.2","5.3.0","5.3.1","5.3.2","5.3.3","5.4.0","5.5.0","5.5.1","5.5.2","5.5.3","5.5.4","5.5.5","5.5.6","5.5.7","5.5.8","5.5.9","5.6.0","5.6.1","5.6.2","5.6.3","5.6.4","5.6.5","5.7.0","5.7.1","5.8.0","5.9.0","6.0.0","6.1.0","6.1.2","6.2.0","6.2.1","7.0.0","7.0.1","7.0.2","7.0.3","7.1.0","7.2.0","7.2.1","7.3.0","7.4.0","7.4.1","7.4.2","7.4.3","7.4.4","7.5.0","7.6.0","7.6.1","7.6.2","7.6.3","7.7.0","7.7.1","7.8.0","7.8.1","7.8.2","7.8.3","7.8.4","7.9.0","7.9.1","7.9.2","7.9.3","7.9.4","7.9.5","7.9.7","7.9.8","8.0.0","8.0.1","8.0.2","8.0.3","8.0.4","8.0.5","8.0.6","8.0.8","8.1.0","8.1.1","8.1.2","8.1.3","8.1.4","8.2.0","8.3.0","8.3.1","8.3.2","8.3.3","8.3.4","8.3.5","8.4.0","8.5.0","8.5.1","9.0.0","9.1.0","9.2.0","9.2.1","9.2.2","9.2.3","9.2.4","9.2.5","9.2.6","9.3.0","9.3.1","9.4.0","9.5.0","9.5.1","9.5.2","9.6.0","9.7.0","9.8.0","9.8.1","9.8.2","9.8.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-jf2p-4gqj-849g/GHSA-jf2p-4gqj-849g.json"}},{"package":{"name":"net.sf.mpxj-for-vb","ecosystem":"NuGet","purl":"pkg:nuget/net.sf.mpxj-for-vb"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.14.1"}]}],"versions":["10.0.0","10.0.1","10.0.2","10.0.3","10.0.4","10.0.5","10.1.0","10.10.0","10.11.0","10.12.0","10.13.0","10.14.0","10.2.0","10.3.0","10.4.0","10.5.0","10.6.0","10.6.1","10.6.2","10.7.0","10.8.0","10.9.0","10.9.1","4.6.1","4.6.2","4.7.0","4.7.1","4.7.3","4.7.4","4.7.5","4.7.6","5.0.0","5.1.0","5.1.10","5.1.11","5.1.12","5.1.13","5.1.15","5.1.16","5.1.17","5.1.18","5.1.4","5.1.5","5.1.9","5.10.0","5.11.0","5.12.0","5.13.0","5.14.0","5.2.0","5.2.1","5.2.2","5.3.0","5.3.1","5.3.2","5.3.3","5.4.0","5.5.0","5.5.1","5.5.2","5.5.3","5.5.4","5.5.5","5.5.6","5.5.7","5.5.8","5.5.9","5.6.0","5.6.1","5.6.2","5.6.3","5.6.4","5.6.5","5.7.0","5.7.1","5.8.0","5.9.0","6.0.0","6.1.0","6.1.2","6.2.0","6.2.1","7.0.0","7.0.1","7.0.2","7.0.3","7.1.0","7.2.0","7.2.1","7.3.0","7.4.0","7.4.1","7.4.2","7.4.3","7.4.4","7.5.0","7.6.0","7.6.1","7.6.2","7.6.3","7.7.0","7.7.1","7.8.0","7.8.1","7.8.2","7.8.3","7.8.4","7.9.0","7.9.1","7.9.2","7.9.3","7.9.4","7.9.5","7.9.7","7.9.8","8.0.0","8.0.1","8.0.2","8.0.3","8.0.4","8.0.5","8.0.6","8.0.8","8.1.0","8.1.1","8.1.2","8.1.3","8.1.4","8.2.0","8.3.0","8.3.1","8.3.2","8.3.3","8.3.4","8.3.5","8.4.0","8.5.0","8.5.1","9.0.0","9.1.0","9.2.0","9.2.1","9.2.2","9.2.3","9.2.4","9.2.5","9.2.6","9.3.0","9.3.1","9.4.0","9.5.0","9.5.1","9.5.2","9.6.0","9.7.0","9.8.0","9.8.1","9.8.2","9.8.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-jf2p-4gqj-849g/GHSA-jf2p-4gqj-849g.json"}},{"package":{"name":"mpxj","ecosystem":"PyPI","purl":"pkg:pypi/mpxj"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.14.1"}]}],"versions":["10.0.0","10.0.1","10.0.2","10.0.3","10.0.4","10.0.5","10.1.0","10.10.0","10.11.0","10.12.0","10.13.0","10.14.0","10.2.0","10.3.0","10.4.0","10.5.0","10.6.0","10.6.1","10.6.2","10.7.0","10.8.0","10.9.0","10.9.1","9.0.0","9.1.0","9.2.0","9.2.1","9.2.2","9.2.3","9.2.4","9.2.5","9.2.6","9.3.0","9.3.1","9.4.0","9.5.0","9.5.1","9.5.2","9.6.0","9.7.0","9.8.0","9.8.1","9.8.2","9.8.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-jf2p-4gqj-849g/GHSA-jf2p-4gqj-849g.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}]}