Advisory

GHSA-j945-c44v-97g6

Also known as: CVE-2024-49771, PYSEC-2026-1681

Summary

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-10-28 18:30 UTC
Modified
2026-07-07 17:56 UTC

Affected packages and fixes

mpxj

RubyGems · All systems

Affected

  • introduced 8.3.5, fixed 13.5.1 (ecosystem)

Fixed versions

13.5.1

Fix

The export has no generic command for this ecosystem.

mpxj

PyPI · All systems

Affected

  • introduced 8.3.5, fixed 13.5.1 (ecosystem)

Fixed versions

13.5.1

Fix

  • Fixed version 13.5.1
    pip install --upgrade mpxj==13.5.1

net.sf.mpxj

NuGet · All systems

Affected

  • introduced 8.3.5, fixed 13.5.1 (ecosystem)

Fixed versions

13.5.1

Fix

The export has no generic command for this ecosystem.

net.sf.mpxj-for-csharp

NuGet · All systems

Affected

  • introduced 8.3.5, fixed 13.5.1 (ecosystem)

Fixed versions

13.5.1

Fix

The export has no generic command for this ecosystem.

net.sf.mpxj-for-vb

NuGet · All systems

Affected

  • introduced 8.3.5, fixed 13.5.1 (ecosystem)

Fixed versions

13.5.1

Fix

The export has no generic command for this ecosystem.

MPXJ.Net

NuGet · All systems

Affected

  • introduced 13.0.0, fixed 13.5.1 (ecosystem)

Fixed versions

13.5.1

Fix

The export has no generic command for this ecosystem.

Fix 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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences