Advisory

DEBIAN-CVE-2025-58438

Also known as: CVE-2025-58438

Summary

The record has no summary.

Details

internetarchive is a Python and Command-Line Interface to Archive.org In versions 5.5.0 and below, there is a directory traversal (path traversal) vulnerability in the File.download() method of the internetarchive library. The file.download() method does not properly sanitize user-supplied filenames or validate the final download path. A maliciously crafted filename could contain path traversal sequences (e.g., ../../../../windows/system32/file.txt) or illegal characters that, when processed, would cause the file to be written outside of the intended target directory. An attacker could potentially overwrite critical system files or application configuration files, leading to a denial of service, privilege escalation, or remote code execution, depending on the context in which the library is used. The vulnerability is particularly critical for users on Windows systems, but all operating systems are affected. This issue is fixed in version 5.5.1.

Severity

Not rated by the source.

Dates

Published
2025-09-06 19:15 UTC
Modified
2026-09-01 20:05 UTC

Affected packages and fixes

python-internetarchive

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 3.3.0-2~deb12u1 (ecosystem)

Fixed versions

3.3.0-2~deb12u1

Fix

  • Fixed version 3.3.0-2~deb12u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python-internetarchive

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 5.4.0-2~deb13u1 (ecosystem)

Fixed versions

5.4.0-2~deb13u1

Fix

  • Fixed version 5.4.0-2~deb13u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python-internetarchive

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 5.5.1-1 (ecosystem)

Fixed versions

5.5.1-1

Fix

  • Fixed version 5.5.1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

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: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences