PYSEC-2022-42996

Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/mpxj/PYSEC-2022-42996.yaml
Aliases
Published
2022-11-25T19:15:00Z
Modified
2023-11-08T04:10:36.916085Z
Summary
[none]
Details

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.

References

Affected packages

PyPI / mpxj

Package

Name
mpxj

Affected ranges

Type
GIT
Repo
https://github.com/joniles/mpxj
Events
Introduced
0The exact introduced commit is unknown
Fixed
Type
ECOSYSTEM
Events
Introduced
0The exact introduced commit is unknown
Fixed
10.14.1

Affected versions

9.*

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

10.*

10.0.0
10.0.1
10.0.2
10.0.3
10.0.4
10.0.5
10.1.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
10.10.0
10.11.0
10.12.0
10.13.0
10.14.0