CVE-2024-49771: MPXJ has a Potential Path Traversal Vulnerability
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.
Published Oct 28, 2024 · Updated Oct 30, 2024
Affected packages
net.sf.mpxj:mpxj
- Ecosystem
- Maven
- Affected
- >= 8.3.5, < 13.5.1
- Fixed in
- 13.5.1
- Check
mvn dependency:tree -Dincludes=net.sf.mpxj:mpxj
mpxj
- Ecosystem
- RubyGems
- Affected
- >= 8.3.5, < 13.5.1
- Fixed in
- 13.5.1
- Check
bundle info mpxj
mpxj
- Ecosystem
- PyPI
- Affected
- >= 8.3.5, < 13.5.1
- Fixed in
- 13.5.1
- Check
pip show mpxj
net.sf.mpxj
- Ecosystem
- NuGet
- Affected
- >= 8.3.5, < 13.5.1
- Fixed in
- 13.5.1
- Check
dotnet list package --include-transitive
net.sf.mpxj-for-csharp
- Ecosystem
- NuGet
- Affected
- >= 8.3.5, < 13.5.1
- Fixed in
- 13.5.1
- Check
dotnet list package --include-transitive
net.sf.mpxj-for-vb
- Ecosystem
- NuGet
- Affected
- >= 8.3.5, < 13.5.1
- Fixed in
- 13.5.1
- Check
dotnet list package --include-transitive
MPXJ.Net
- Ecosystem
- NuGet
- Affected
- >= 13.0.0, < 13.5.1
- Fixed in
- 13.5.1
- Check
dotnet list package --include-transitive
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
References
- https://github.com/joniles/mpxj/security/advisories/GHSA-j945-c44v-97g6
- https://github.com/joniles/mpxj/commit/8002802890dfdc8bc74259f37e053e15b827eea0
- https://nvd.nist.gov/vuln/detail/CVE-2024-49771
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mpxj/CVE-2024-49771.yml
- https://github.com/advisories/GHSA-j945-c44v-97g6
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
