Docker image 0.7.3 ships on EOL Alpine 3.19.1 and a vulnerable chai2010/webp

Aperta
#247 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 9 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
docker, go
Ambito
devops, security

Direzione di ricerca

The base image is set by the FROM alpine:3.19.1 line in the project's Dockerfile, and the webp dependency is pinned in go.mod as github.com/chai2010/webp v1.1.1. Start by changing the base tag to a supported Alpine release, then run go get github.com/chai2010/[email protected] and go build ./.... Done when the image builds, the code that decodes WebP still compiles and passes go test ./..., and the scan no longer reports the two listed vulnerabilities.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

The evoapicloud/evolution-go:0.7.3 image is built FROM alpine:3.19.1, which no longer receives security updates. A scan (Grype v0.120.1) reports two known-exploited vulnerabilities:

  • CVE-2026-111497 in brotli-libs 1.1.0-r1 (from the base image)
  • GHSA-j7hp-h8jx-5ppr / CVE-2023-4863 in github.com/chai2010/webp v1.1.1 (fixed in v1.4.0)

Since the service decodes media received from WhatsApp, both are reachable with untrusted input.

Could the base image be moved to a supported Alpine release and chai2010/webp bumped to >= 1.4.0? Happy to test a pre-release image.

Lingua principale
Go
Stelle
1k
Fork
610
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di evolution-foundation/evolution-go

Tutte le issue di evolution-foundation/evolution-go

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.