Advisory

UBUNTU-CVE-2022-40897

Also known as: CVE-2022-40897

Summary

The record has no summary.

Details

Python Packaging Authority (PyPA) setuptools before 65.5.1 allows remote attackers to cause a denial of service via HTML in a crafted package or custom PackageIndex page. There is a Regular Expression Denial of Service (ReDoS) in package_index.py.

Severity

Medium Basis: CVSS v3 score 5.9, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2022-12-23 00:15 UTC
Modified
2026-02-04 04:23 UTC

Affected packages and fixes

python-pip

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 9.0.1-2.3~ubuntu1.18.04.6 (ecosystem)

Fixed versions

9.0.1-2.3~ubuntu1.18.04.6

Fix

  • Fixed version 9.0.1-2.3~ubuntu1.18.04.6
    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-setuptools

Debian packages (deb) · Ubuntu 18.04

Affected

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

Fixed versions

39.0.1-2ubuntu0.1

Fix

  • Fixed version 39.0.1-2ubuntu0.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-pip

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 20.0.2-5ubuntu1.7 (ecosystem)

Fixed versions

20.0.2-5ubuntu1.7

Fix

  • Fixed version 20.0.2-5ubuntu1.7
    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-setuptools

Debian packages (deb) · Ubuntu 20.04

Affected

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

Fixed versions

44.0.0-2ubuntu0.1

Fix

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

setuptools

Debian packages (deb) · Ubuntu 20.04

Affected

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

Fixed versions

45.2.0-1ubuntu0.1

Fix

  • Fixed version 45.2.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.

python-pip

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 22.0.2+dfsg-1ubuntu0.1 (ecosystem)

Fixed versions

22.0.2+dfsg-1ubuntu0.1

Fix

  • Fixed version 22.0.2+dfsg-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-setuptools

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 44.1.1-1.2ubuntu0.22.04.1 (ecosystem)

Fixed versions

44.1.1-1.2ubuntu0.22.04.1

Fix

  • Fixed version 44.1.1-1.2ubuntu0.22.04.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.

setuptools

Debian packages (deb) · Ubuntu 22.04

Affected

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

Fixed versions

59.6.0-1.2ubuntu0.22.04.1

Fix

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