MPXJ has a Potential Path Traversal Vulnerability
GHSA-j945-c44v-97g6 · CVE-2024-49771 · PYSEC-2026-1681
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
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
- WEB https://github.com/joniles/mpxj/security/advisories/GHSA-j945-c44v-97g6
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2024-49771
- WEB https://github.com/joniles/mpxj/commit/8002802890dfdc8bc74259f37e053e15b827eea0
- PACKAGE https://github.com/joniles/mpxj
- WEB https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mpxj/CVE-2024-49771.yml
Ready to move
Start Securing
Free, no credit card | First findings in minutes