ADVISORIES

GitHub Advisory Database

GHSA-j945-c44v-97g6

MPXJ has a Potential Path Traversal Vulnerability

Details

Impact

The patch for the historical vulnerability CVE-2020-35460 in MPXJ is incomplete as there is still a possibility that a malicious path could be constructed which would not be picked up by the original fix and allow files to be written to arbitrary locations.

Patches

The issue is addressed in MPXJ version 13.5.1

Workarounds

Do not pass zip files to MPXJ.

References

N/A

Credits

Issue report and patch provided by yyjLF and sprinkle

Affected packages

EcosystemPackageAffected versions
Mavennet.sf.mpxj:mpxj
From 8.3.5 before 13.5.1 (fixed in 13.5.1)
RubyGemsmpxj
From 8.3.5 before 13.5.1 (fixed in 13.5.1)
PyPImpxj
From 8.3.5 before 13.5.1 (fixed in 13.5.1)
NuGetnet.sf.mpxj
From 8.3.5 before 13.5.1 (fixed in 13.5.1)
NuGetnet.sf.mpxj-for-csharp
From 8.3.5 before 13.5.1 (fixed in 13.5.1)
NuGetnet.sf.mpxj-for-vb
From 8.3.5 before 13.5.1 (fixed in 13.5.1)
NuGetMPXJ.Net
From 13.0.0 before 13.5.1 (fixed in 13.5.1)

References