Advisory

USN-5817-1

Also known as: CVE-2022-40897

Summary

python-setuptools, setuptools vulnerability

Details

Sebastian Chnelik discovered that setuptools incorrectly handled
certain regex inputs. An attacker could possibly use this issue
to cause a denial of service.

Severity

Not rated by the source.

Dates

Published
2023-01-23 08:51 UTC
Modified
2026-06-29 13:50 UTC

Affected packages and fixes

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-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-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