Docker image: bump yq to v4.54.3 (9 HIGH CVEs) and pgproto3 CVE-2026-32286
Maintainers usually reply within 4 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 62/100
Research direction
The yq pin is in build/docker/Dockerfile, currently at v4.50.1; change it to v4.54.3. Verify by installing both versions with go install and running trivy rootfs with --severity HIGH,CRITICAL on each, expecting 9 findings before and 0 after. The pgproto3 v2 to pgx v5 migration is a separate, larger change and is not a good first task.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- Go
- Stars
- 15.1k
- Forks
- 726
- Avg merge
- 4d 23h
- Merged PRs (30d)
- 27
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from crowdsecurity/crowdsec
-
kind/bug needs/triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
crowdsecurity/crowdsec#4847 · 3 comments ·
Maintainers usually reply within 4 days
-
kind/bug needs/triage os/linux
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
crowdsecurity/crowdsec#4836 · 1 comment ·
Maintainers usually reply within 4 days
-
victorialogs datasource passes the trailing newline of a message to the parsers (traefik-logs 1.6 fails on every line)Possibly taken @IlayWolfson claimed this 6 days ago. Openkind/bug needs/triage os/linux version/1.8.2
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
crowdsecurity/crowdsec#4820 · 1 comment ·
Maintainers usually reply within 4 days
-
[email protected]Openneeds/kind needs/triage
Difficulty 5/5 Over a week Newbie friendliness 10/100
crowdsecurity/crowdsec#4842 · 3 comments ·
Maintainers usually reply within 4 days
-
MySQL: idle pool connections die after wait_timeout, log shows broken pipePossibly taken @AdzerKI claimed this 3 days ago. Openkind/bug needs/triage
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
crowdsecurity/crowdsec#4840 · 3 comments ·
Maintainers usually reply within 4 days
All issues in crowdsecurity/crowdsec
Similar issues
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 62/100
DaoCloud/DaoCloud-docs#7839 ·
Maintainers usually reply within 1 day
-
Type: Enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
projectdiscovery/urlfinder#167 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
peterstace/simplefeatures#726 ·
-
area: import bug go good first issue priority: low
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
fukubie/StockLlama#69 ·
-
enhancement help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
cloverworks-hq/rumpty-cli#95 ·
Maintainers usually reply within 1 day