Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setuptools CVE-2022-40897 #2986

Closed
2 tasks done
matthawley opened this issue Nov 15, 2024 · 2 comments · Fixed by #2988
Closed
2 tasks done

Setuptools CVE-2022-40897 #2986

matthawley opened this issue Nov 15, 2024 · 2 comments · Fixed by #2988
Labels

Comments

@matthawley
Copy link

Prerequisites

Description

Version 2.32.2 of locust via the usage of the python 3.11.0-slim base image reports the usage of [email protected] which contains the vulnerability GHSA-r9hx-vwmv-q579

We are requesting locust to upgrade to a newer version of the python base image to a newer one (3.12.0-slim or 3.13.0-slim) to resolve this issue. Referencing #2761

Command line

n/a

Locustfile contents

n/a

Python version

3.11

Locust version

2.32.2

Operating system

Linux

@cyberw
Copy link
Collaborator

cyberw commented Nov 15, 2024

IIRC there was some reason we didnt already update to 3.12, but I've added a specific dependency on setuptools.

Will make a release some time next week. Thanks for reminding me!

@matthawley
Copy link
Author

matthawley commented Nov 15, 2024

@cyberw Unfortunately, it doesn't seem as if this works - docker scout still detects v65.5.1 as it's directly referenced/installed in the Python 3.11 docker container.

docker pull locustio/locust:master
docker scout cves locustio/locust:master
pkg:pypi/[email protected]

    x HIGH CVE-2024-6345 [Improper Control of Generation of Code ('Code Injection')]
      https://scout.docker.com/v/CVE-2024-6345
      Affected range : <70.0.0
      Fixed version  : 70.0.0
      CVSS Score     : 8.8
      CVSS Vector    : CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants