Docker image: bump yq to v4.54.3 (9 HIGH CVEs) and pgproto3 CVE-2026-32286
Los mantenedores suelen responder en 4 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 62/100
Línea de trabajo
El fijado de yq está en build/docker/Dockerfile y actualmente está en v4.50.1; cámbialo a v4.54.3. Para verificarlo, instala ambas versiones con go install y ejecuta trivy rootfs con --severity HIGH,CRITICAL en cada una, esperando 9 hallazgos antes y 0 después. La migración de pgproto3 v2 a pgx v5 es un cambio aparte, más grande, y no es una buena primera tarea.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happened?
Trivy (Aqua Security's open-source vulnerability scanner) reports HIGH findings in the crowdsecurity/crowdsec:v1.8.2 image that are not fixed on master yet:
/usr/local/bin/yq (9 CVEs). build/docker/Dockerfile installs [email protected], which is built with golang.org/x/net v0.48.0 and golang.org/x/text v0.32.0:
- golang.org/x/net: CVE-2026-25681, CVE-2026-27136, CVE-2026-33814, CVE-2026-39821, CVE-2026-46600, CVE-2026-78661, CVE-2026-78669
- golang.org/x/text: CVE-2026-56851, CVE-2026-56852
yq v4.54.3 (released 2026-11-09) uses x/net v0.62.0 and x/text v0.43.0.
github.com/jackc/pgproto3/v2 v2.3.3 (CVE-2026-32286) in crowdsec and cscli, pulled in by jackc/pgx/v4. There is no fixed pgproto3 v2 release, so this probably needs a move to pgx v5. Only relevant with a PostgreSQL database.
Two other findings in v1.8.2 are already handled: x/net in the crowdsec binaries (CVE-2026-78661) is at v0.62.0 on master, and Alpine rsync (CVE-2026-119741) gets 3.5.2-r0 on the next image build.
What did you expect to happen?
The next image release to scan clean for fixable HIGH/CRITICAL findings. For yq that would be bumping the pin in build/docker/Dockerfile from v4.50.1 to v4.54.3.
How can we reproduce it (as minimally and precisely as possible)?
trivy image --scanners vuln --severity HIGH,CRITICAL crowdsecurity/crowdsec:v1.8.2
To check the yq bump on its own:
GOBIN=/tmp/old go install github.com/mikefarah/yq/[email protected]
GOBIN=/tmp/new go install github.com/mikefarah/yq/[email protected]
trivy rootfs --scanners vuln --severity HIGH,CRITICAL /tmp/old # 9 findings
trivy rootfs --scanners vuln --severity HIGH,CRITICAL /tmp/new # 0 findings
Anything else we need to know?
As far as we can tell none of these are reachable in a normal deployment: yq only processes local config in the entrypoint, and we run SQLite. We're reporting it because image scanners in CI flag the image. Tested with Trivy 0.76.2.
I used an AI assistant to help investigate and draft this; I reviewed the findings and the test.
Crowdsec version
v1.8.2 (docker image crowdsecurity/crowdsec:v1.8.2@sha256:65b74942f7e7ed5c60fde4ac15fc4ba715904c398c8b16dd451f4907d90347d4)
OS version
Docker image (Alpine 3.24), on GKE
- Lenguaje dominante
- Go
- Estrellas
- 15.1k
- Forks
- 726
- Merge medio
- 4 d 23 h
- PR fusionados (30 d)
- 27
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de crowdsecurity/crowdsec
-
kind/bug needs/triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
crowdsecurity/crowdsec#4847 · 3 comentarios ·
Los mantenedores suelen responder en 4 días
-
kind/bug needs/triage os/linux
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
crowdsecurity/crowdsec#4836 · 1 comentario ·
Los mantenedores suelen responder en 4 días
-
victorialogs datasource passes the trailing newline of a message to the parsers (traefik-logs 1.6 fails on every line)Posiblemente ocupada @IlayWolfson la tomó hace 6 días. Abiertokind/bug needs/triage os/linux version/1.8.2
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
crowdsecurity/crowdsec#4820 · 1 comentario ·
Los mantenedores suelen responder en 4 días
-
[email protected]Abiertoneeds/kind needs/triage
Dificultad 5/5 Más de una semana Aptitud para principiantes 10/100
crowdsecurity/crowdsec#4842 · 3 comentarios ·
Los mantenedores suelen responder en 4 días
-
MySQL: idle pool connections die after wait_timeout, log shows broken pipePosiblemente ocupada @AdzerKI la tomó hace 3 días. Abiertokind/bug needs/triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
crowdsecurity/crowdsec#4840 · 3 comentarios ·
Los mantenedores suelen responder en 4 días
Todos los issues de crowdsecurity/crowdsec
Issues similares
-
【文档错误】创建镜像空间步骤中的截图标注与文字描述不一致Abiertoenhancement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 62/100
DaoCloud/DaoCloud-docs#7839 ·
Los mantenedores suelen responder en 1 día
-
Support AlienVault OTX API keysAbiertoType: Enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
projectdiscovery/urlfinder#167 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
peterstace/simplefeatures#726 ·
-
area: import bug go good first issue priority: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
fukubie/StockLlama#69 ·
-
Add `rumpty firewall create|rm`Abiertoenhancement help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
cloverworks-hq/rumpty-cli#95 ·
Los mantenedores suelen responder en 1 día