Moderate: python-setuptools security update

python3-setuptools Updated 02 Oct 2025

Summary

28/02/2023
N/A
Yes i
Unrated
Not published

ALSA-2023:0952: Moderate: python-setuptools security update. Affects python3-setuptools versions < 53.0.0-10.el9_1.1. Fixed in 53.0.0-10.el9_1.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The python-setuptools package is a collection of enhancements to Python distribution utilities that enable convenient building and distribution of Python packages. It is widely used in the Python ecosystem for package management and distribution.

Vulnerability Detail

The vulnerability (CVE-2022-40897) in the python-setuptools package is a Regular Expression Denial of Service (ReDoS) issue in the package_index.py file. This vulnerability can be exploited by an attacker to cause a denial of service by sending specially crafted input to the affected application. The impact of this vulnerability is considered moderate.

How To Fix

Minimum fixed version

53.0.0-10.el9_1.1

This is the first release that contains the fix.

sudo dnf update python3-setuptools

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. The recommended solution is to update the python-setuptools package to the fixed version.

Conclusion

The python-setuptools package has a moderate security vulnerability (CVE-2022-40897) that can be exploited to cause a denial of service. To mitigate this vulnerability, it is recommended to update the package to version 53.0.0-10.el9_1.1 or later. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for python3-setuptools →

Share this vulnerability

FAQ

Python-setuptools is a package that provides enhancements to Python distribution utilities for easy building and distribution of Python packages.

The vulnerability can be exploited to cause a denial of service by sending specially crafted input to the affected application.

You can fix this vulnerability by updating the python-setuptools package to version 53.0.0-10.el9_1.1 or later.

There is no specific workaround mentioned for this vulnerability. Updating the package to the fixed version is the recommended solution.

You can find more information about this vulnerability in the CVE page (CVE-2022-40897) listed in the References section.

Related vulnerabilities

Recent vulnerabilities recorded for python3-setuptools.

How To Fix

Minimum fixed version

53.0.0-10.el9_1.1

This is the first release that contains the fix.

sudo dnf update python3-setuptools

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback