GoogleCloudPlatform / buildpacks

Builders and buildpacks designed to run on Google Cloud's container platforms
Apache License 2.0
986 stars 146 forks source link

CVE-2022-40897 in Python runtime #352

Open jenshonkan84 opened 1 year ago

jenshonkan84 commented 1 year ago

Describe the bug I have just started to test out buildpacks. When I build my little python API I can see that the Container Security Scanner finds a CVE marked as HIGH CVE-2022-40897.

Would be great if someone could fix that. :)

Additional context How are you using GCP buildpacks?

Did this used to work? (Yes/No) Was this working before? When did you start noticing these errors?

What language is your project primarily written in? Python

Steps To Reproduce Steps to reproduce the behavior:

  1. gcloud builds submit --pack builder=gcr.io/buildpacks/builder:latest,image=<image_name>

Screenshot: image

paul-feng-github commented 1 year ago

@jenshonkan84 We are working on upgrading setuptools version for python311. I'll let you know when it is ready.

paul-feng-github commented 1 year ago

@jenshonkan84 All python311 runtimes have been updated. CVE-2022-40897 is fixed.

jenshonkan84 commented 1 year ago

Thx! I can confirm it is fixed. But... Now it looks like there is a Critical CVE instead.

image

Sorry if I am pushing this. But I just want to make you aware of it. This is related to Go...

paul-feng-github commented 1 year ago

What go version were you using? Could you please provide more details?