medium5.3
CVE-2024-49771
MPXJ has a Potential Path Traversal Vulnerability
Impact
### 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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | net.sf.mpxj:mpxj | >= 8.3.5, < 13.5.1 | 13.5.1 |
| rubygems | mpxj | >= 8.3.5, < 13.5.1 | 13.5.1 |
| pip | mpxj | >= 8.3.5, < 13.5.1 | 13.5.1 |
| nuget | net.sf.mpxj | >= 8.3.5, < 13.5.1 | 13.5.1 |
| nuget | net.sf.mpxj-for-csharp | >= 8.3.5, < 13.5.1 | 13.5.1 |
| nuget | net.sf.mpxj-for-vb | >= 8.3.5, < 13.5.1 | 13.5.1 |
| nuget | MPXJ.Net | >= 13.0.0, < 13.5.1 | 13.5.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/joniles/mpxj/commit/8002802890dfdc8bc74259f37e053e15b827eea0
- https://github.com/joniles/mpxj/security/advisories/GHSA-j945-c44v-97g6
- https://github.com/advisories/GHSA-j945-c44v-97g6
- https://nvd.nist.gov/vuln/detail/CVE-2024-49771
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mpxj/CVE-2024-49771.yml