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

Python CVE for 3.10 is found for Python 3.11 #130

Open
gergelyfabian opened this issue Jun 27, 2024 · 4 comments
Open

Python CVE for 3.10 is found for Python 3.11 #130

gergelyfabian opened this issue Jun 27, 2024 · 4 comments
Assignees

Comments

@gergelyfabian
Copy link

gergelyfabian commented Jun 27, 2024

For CVE: https://scout.docker.com/vulnerabilities/id/CVE-2022-42919?s=ubuntu&n=python3.11&ns=ubuntu&t=deb&osn=ubuntu&osv=22.04&vr=%3E%3D0

I have Python 3.11 installed with:

add-apt-repository ppa:deadsnakes/ppa \
    && apt-get install -y python3.11 python3.11-venv python3.11-distutils \
    && python3.11 -m ensurepip \

Scout reports:

pkg:deb/ubuntu/[email protected]%2Bjammy1?os_distro=jammy&os_name=ubuntu&os_version=22.04

    ✗ HIGH CVE-2022-42919
      https://scout.docker.com/v/CVE-2022-42919
      Affected range : >=0                                           
      Fixed version  : not fixed                                     
      CVSS Score     : 7.8                                           
      CVSS Vector    : CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H  

This should not be reported as the CVE says nothing about Python 3.11, but:

Python 3.9.x before 3.9.16 and 3.10.x before 3.10.9 on Linux

@cdupuis
Copy link
Collaborator

cdupuis commented Jun 27, 2024

Hi @gergelyfabian, does Ubuntu not list python 3.11 on Jammy at https://ubuntu.com/security/CVE-2022-42919?

@gergelyfabian
Copy link
Author

gergelyfabian commented Jun 27, 2024

Maybe it lists it, because there is no Python 3.11 on Ubuntu Jammy according to packages.ubuntu.com (but 3.10.6, that seems to be affected).
According to the CVE's description this CVE is clearly for 3.9 and 3.10 and not 3.11.

Also, I have installed Python 3.11 on Jammy from a PPA.

@gergelyfabian
Copy link
Author

gergelyfabian commented Jun 27, 2024

I think this also may be a mistake on Ubuntu's side, as it should either say for Jammy, that Python 3.11 "Does not exist" or "Not vulnerable (3.11.0-3)"

@cdupuis cdupuis self-assigned this Jun 27, 2024
@gergelyfabian
Copy link
Author

Worked this around by upgrading to Ubuntu 24.04 image.

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

No branches or pull requests

2 participants