Advisory

UBUNTU-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-02-04 07:39 UTC

Affected packages and fixes

python-internetarchive

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1.9.9-1ubuntu0.1 (ecosystem)

Fixed versions

1.9.9-1ubuntu0.1

Fix

  • Fixed version 1.9.9-1ubuntu0.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.

python-internetarchive

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 5.4.0-1ubuntu0.1 (ecosystem)

Fixed versions

5.4.0-1ubuntu0.1

Fix

  • Fixed version 5.4.0-1ubuntu0.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: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences