Vulnerability · Published Nov 25, 2022 · Assigned by GitHub_M

CVE-2022-41954Temporary File Information Disclosure Vulnerability

Low 3.3

In plain English

A low-severity information exposure in mpxj from joniles. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.3Low
Exploit odds (30 days)0.2%top 88.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavennet.sf.mpxj:mpxj10.14.1GHSA-jf2p-4gqj-849g
NuGetnet.sf.mpxj10.14.1GHSA-jf2p-4gqj-849g
NuGetnet.sf.mpxj-for-csharp10.14.1GHSA-jf2p-4gqj-849g
NuGetnet.sf.mpxj-for-vb10.14.1GHSA-jf2p-4gqj-849g
PyPImpxj10.14.1GHSA-jf2p-4gqj-849g
PyPImpxj10.14.1PYSEC-2022-42996

Affected products (as reported)

VendorProductVersions
joniles mpxj < 10.14.1

Weakness: CWE-200, CWE-377 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

References