Creation of Temporary File With Insecure Permissions Affecting net.sf.mpxj:mpxj package, versions [,10.14.1)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.04% (6th percentile)

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

How 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.

References

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
2.8 low
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    None
  • Availability (A)
    None
Expand this section

NVD

3.3 low