mpxj
Affected
- introduced
8.3.5, fixed13.5.1(ecosystem)
Fixed versions
13.5.1
Fix
- Fixed version
13.5.1pip install --upgrade mpxj==13.5.1
Advisory
Also known as: CVE-2024-49771, GHSA-j945-c44v-97g6
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.
References
N/A
Credits
Issue report and patch provided by yyjLF and sprinkle
Medium Basis: CVSS v3 score 5.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
8.3.5, fixed 13.5.1 (ecosystem)13.5.1
13.5.1pip install --upgrade mpxj==13.5.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0