Creation of Temporary File With Insecure Permissions Affecting net.sf.mpxj:mpxj package, versions [,10.14.1)
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JAVA-NETSFMPXJ-3149893
- published 27 Nov 2022
- disclosed 27 Nov 2022
- credit Unknown
Introduced: 27 Nov 2022
CVE-2022-41954 Open this link in a new tabHow to fix?
Upgrade net.sf.mpxj:mpxj
to version 10.14.1 or higher.
Overview
net.sf.mpxj:mpxj is a Library that provides facilities to allow project information to be manipulated in Java and .Net.
Affected versions of this package are vulnerable to Creation of Temporary File With Insecure Permissions. A knowledgeable local user can locate temporary files created when a scheduled file is read. While they are in use, the user will be able to read the schedule being processed by MPXJ. This is because temporary files are being created with the permissions -rw-r--r--
.
Workaround
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.