Bugzilla – Bug 1206667
VUL-0: CVE-2022-40897: python27-setuptools,python36-setuptools,python310-setuptools,python-setuptools,python39-setuptools: ReDos in setuptools
Last modified: 2024-06-13 15:50:51 UTC
CVE-2022-40897 An issue discovered in Python Packaging Authority (PyPA) setuptools 65.3.0 and earlier allows remote attackers to cause a denial of service via crafted HTML package or custom PackageIndex page. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-40897 https://www.cve.org/CVERecord?id=CVE-2022-40897 https://github.com/pypa/setuptools/blob/fe8a98e696241487ba6ac9f91faa38ade939ec5d/setuptools/package_index.py#L200 http://www.cvedetails.com/cve/CVE-2022-40897/ https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/
Affected: - SUSE:Carwos:1/python-setuptools 40.5.0 - SUSE:SLE-11-SP1:Update:Teradata/python27-setuptools 18.0.1 - SUSE:SLE-11-SP3:Update:Teradata/python-setuptools 0.6c11 - SUSE:SLE-12-SP1:Update/python-setuptools 40.6.2 - SUSE:SLE-12-SP3:Update:Products:Cloud8:Update/python-setuptools 36.5.0 - SUSE:SLE-12-SP3:Update:Products:Teradata:Update/python36-setuptools 44.1.1 - SUSE:SLE-12-SP4:Update:Products:Cloud9:Update/python-setuptools 40.1.0 - SUSE:SLE-12-SP5:Update/python36-setuptools 44.1.1 - SUSE:SLE-15-SP1:Update/python-setuptools 40.5.0 - SUSE:SLE-15-SP3:Update/python39-setuptools 44.1.1 - SUSE:SLE-15-SP4:Update/python-setuptools 44.1.1 - SUSE:SLE-15-SP4:Update/python310-setuptools 57.4.0 - SUSE:SLE-15:Update/python-setuptools 38.4.1 Not Affected: - openSUSE:Factory/python-setuptools 65.6.3
Fix: https://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca77964be
Submit request with patch are accepted for each affected version.
SUSE-SU-2023:0091-1: An update that fixes one vulnerability is now available. Category: security (moderate) Bug References: 1206667 CVE References: CVE-2022-40897 JIRA References: Sources used: openSUSE Leap 15.4 (src): python310-setuptools-57.4.0-150400.4.3.1 SUSE Linux Enterprise Module for Python3 15-SP4 (src): python310-setuptools-57.4.0-150400.4.3.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2023:0093-1: An update that fixes one vulnerability is now available. Category: security (moderate) Bug References: 1206667 CVE References: CVE-2022-40897 JIRA References: Sources used: SUSE Linux Enterprise Software Development Kit 12-SP5 (src): python-setuptools-40.6.2-4.21.1 SUSE Linux Enterprise Server 12-SP5 (src): python-setuptools-40.6.2-4.21.1 SUSE Linux Enterprise Module for Public Cloud 12 (src): python-setuptools-40.6.2-4.21.1 SUSE Linux Enterprise Module for Containers 12 (src): python-setuptools-40.6.2-4.21.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2023:0094-1: An update that fixes one vulnerability is now available. Category: security (moderate) Bug References: 1206667 CVE References: CVE-2022-40897 JIRA References: Sources used: SUSE Linux Enterprise Server 12-SP5 (src): python36-setuptools-44.1.1-8.6.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2023:0159-1: An update that fixes one vulnerability is now available. Category: security (moderate) Bug References: 1206667 CVE References: CVE-2022-40897 JIRA References: Sources used: openSUSE Leap Micro 5.3 (src): python-setuptools-44.1.1-150400.3.3.1 openSUSE Leap 15.4 (src): python-setuptools-44.1.1-150400.3.3.1, python-setuptools-test-44.1.1-150400.3.3.1, python-setuptools-wheel-44.1.1-150400.3.3.1 SUSE Linux Enterprise Module for Basesystem 15-SP4 (src): python-setuptools-44.1.1-150400.3.3.1, python-setuptools-test-44.1.1-150400.3.3.1, python-setuptools-wheel-44.1.1-150400.3.3.1 SUSE Linux Enterprise Micro 5.3 (src): python-setuptools-44.1.1-150400.3.3.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2023:0202-1: An update that fixes one vulnerability is now available. Category: security (moderate) Bug References: 1206667 CVE References: CVE-2022-40897 JIRA References: Sources used: openSUSE Leap 15.4 (src): python39-setuptools-44.1.1-150300.7.6.1 SUSE Linux Enterprise Realtime Extension 15-SP3 (src): python39-setuptools-44.1.1-150300.7.6.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2023:0223-1: An update that fixes one vulnerability is now available. Category: security (moderate) Bug References: 1206667 CVE References: CVE-2022-40897 JIRA References: Sources used: openSUSE Leap Micro 5.2 (src): python-setuptools-40.5.0-150100.6.6.1 SUSE Linux Enterprise Realtime Extension 15-SP3 (src): python-setuptools-40.5.0-150100.6.6.1, python-setuptools-test-40.5.0-150100.6.6.1, python-setuptools-wheel-40.5.0-150100.6.6.1 SUSE Linux Enterprise Micro 5.2 (src): python-setuptools-40.5.0-150100.6.6.1 SUSE Linux Enterprise Micro 5.1 (src): python-setuptools-40.5.0-150100.6.6.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2023:0403-1: An update that fixes one vulnerability is now available. Category: security (moderate) Bug References: 1206667 CVE References: CVE-2022-40897 JIRA References: Sources used: SUSE OpenStack Cloud Crowbar 8 (src): python-setuptools-36.5.0-3.3.1 SUSE OpenStack Cloud 8 (src): python-setuptools-36.5.0-3.3.1 HPE Helion Openstack 8 (src): python-setuptools-36.5.0-3.3.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2023:0402-1: An update that fixes one vulnerability is now available. Category: security (moderate) Bug References: 1206667 CVE References: CVE-2022-40897 JIRA References: Sources used: SUSE OpenStack Cloud Crowbar 9 (src): python-setuptools-40.1.0-3.3.1 SUSE OpenStack Cloud 9 (src): python-setuptools-40.1.0-3.3.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
this patch is missing in the new SUSE:SLE-15-SP4:Update python3-setuptools (was incorrectly dropped during the package rename)
(In reply to Marcus Meissner from comment #22) > this patch is missing in the new SUSE:SLE-15-SP4:Update python3-setuptools > > (was incorrectly dropped during the package rename) Any update on this ? https://www.suse.com/security/cve/CVE-2022-40897.html is still flagged as resolved ..
ping?
(In reply to Marcus Meissner from comment #24) > ping? sorry, https://build.suse.de/request/show/312665
SUSE-SU-2023:4517-1: An update that solves one vulnerability can now be installed. Category: security (moderate) Bug References: 1206667 CVE References: CVE-2022-40897 Sources used: openSUSE Leap 15.4 (src): python3-setuptools-test-44.1.1-150400.9.6.1, python3-setuptools-wheel-44.1.1-150400.9.6.1, python3-setuptools-44.1.1-150400.9.6.1 openSUSE Leap Micro 5.3 (src): python3-setuptools-44.1.1-150400.9.6.1 openSUSE Leap Micro 5.4 (src): python3-setuptools-44.1.1-150400.9.6.1 openSUSE Leap 15.5 (src): python3-setuptools-test-44.1.1-150400.9.6.1, python3-setuptools-wheel-44.1.1-150400.9.6.1, python3-setuptools-44.1.1-150400.9.6.1 SUSE Linux Enterprise Micro for Rancher 5.3 (src): python3-setuptools-44.1.1-150400.9.6.1 SUSE Linux Enterprise Micro 5.3 (src): python3-setuptools-44.1.1-150400.9.6.1 SUSE Linux Enterprise Micro for Rancher 5.4 (src): python3-setuptools-44.1.1-150400.9.6.1 SUSE Linux Enterprise Micro 5.4 (src): python3-setuptools-44.1.1-150400.9.6.1 SUSE Linux Enterprise Micro 5.5 (src): python3-setuptools-44.1.1-150400.9.6.1 Basesystem Module 15-SP4 (src): python3-setuptools-test-44.1.1-150400.9.6.1, python3-setuptools-wheel-44.1.1-150400.9.6.1, python3-setuptools-44.1.1-150400.9.6.1 Basesystem Module 15-SP5 (src): python3-setuptools-test-44.1.1-150400.9.6.1, python3-setuptools-wheel-44.1.1-150400.9.6.1, python3-setuptools-44.1.1-150400.9.6.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
done, closing