docker-library / docker-library/python

Propral: additional base image `amazonlinux:2023`

Abierto
#904 0 comentarios 2 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Lenguaje dominante
Dockerfile
Estrellas
2.8k
Forks
1.1k
Merge medio
3 d 1 h
PR fusionados (30 d)
1

Descripción

Hey guys, first of all, thank you for the work you are doing 🙏
Docker images of python are being shipped millions of times per month (if not per day), and that's awesome 💪

As you most likely know, there is a CVE affecting MiniZip shipped with zlib affecting Debian (buster, bullseye, and bookworm): https://security-tracker.debian.org/tracker/CVE-2023-45853.

I am aware that this vulnerability is effectively impacting minizip (and not really the actual libz binary, which is the one that matters here).

This is CVE is being considered as critical by my company docker image scanner, so we've been trying to find ways to get rid of these secrutiy alerts, and, as a temporrary solution, we decided to switch from python:3.X base image, to a amazonlinux:2023[-minimal] with python3.11 installed there (version maitained by amazon).

Using Amazon Linux 2023 is removing this security alert as amazon backported the fix in its libz (c.f. Amazon document ALAS-2023-410) as the version 1.2.11-33.amzn2023.0.5.


Based on the context above, did this community though of adding amazonlinux:2023 as a base image of python images, to benefit from latest security releases?

Or maybe should it be the responsability of amazon to create such image (like they are doing with amazoncoretto)?

Cheers ✌️

This issue is not necessarily asking to support amazonlinux as a base image, but it's to open a discussion on that matter (and based on the issues of this repository, no one already brought it yet)

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

El issue no menciona archivos ni tests. Empieza revisando las definiciones actuales de imágenes de Python del repositorio y cómo se seleccionan las imágenes base; después, evalúa si amazonlinux:2023 puede admitirse de forma coherente. Para darlo por terminado, sería necesaria una decisión de los maintainers sobre la responsabilidad, el alcance del soporte y los cambios de imagen necesarios.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
docker, linux, python
Área
devops, infrastructure
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.