Advisory

UBUNTU-CVE-2024-6345

Also known as: CVE-2024-6345

Summary

The record has no summary.

Details

A vulnerability in the package_index module of pypa/setuptools versions up to 69.1.1 allows for remote code execution via its download functions. These functions, which are used to download packages from URLs provided by users or retrieved from package index servers, are susceptible to code injection. If these functions are exposed to user-controlled inputs, such as package URLs, they can execute arbitrary commands on the system. The issue is fixed in version 70.0.

Severity

High Basis: CVSS v3 score 8.8, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2024-07-15 01:15 UTC
Modified
2026-02-04 04:05 UTC

Affected packages and fixes

setuptools

Debian packages (deb) · Ubuntu 20.04

Affected

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

Fixed versions

45.2.0-1ubuntu0.2

Fix

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

setuptools

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 59.6.0-1.2ubuntu0.22.04.2 (ecosystem)

Fixed versions

59.6.0-1.2ubuntu0.22.04.2

Fix

  • Fixed version 59.6.0-1.2ubuntu0.22.04.2
    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.

setuptools

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 68.1.2-2ubuntu1.1 (ecosystem)

Fixed versions

68.1.2-2ubuntu1.1

Fix

  • Fixed version 68.1.2-2ubuntu1.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