Docker image: bump yq to v4.54.3 (9 HIGH CVEs) and pgproto3 CVE-2026-32286
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 62/100
調査の方向性
yq のピン留めは build/docker/Dockerfile にあり、現在は v4.50.1 です。これを v4.54.3 に変更してください。検証として、両方のバージョンを go install でインストールし、それぞれに対して --severity HIGH,CRITICAL を指定して trivy rootfs を実行します。変更前は 9 件、変更後は 0 件の検出を期待します。pgproto3 v2 から pgx v5 への移行は別の、より大きな変更であり、最初のタスクとしては適していません。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Go
- スター
- 15.1k
- フォーク
- 726
- 平均マージ
- 4日 23時間
- マージ済み PR(30日)
- 27
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
crowdsecurity/crowdsec のほかの issue
-
kind/bug needs/triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
crowdsecurity/crowdsec#4847 · コメント 3 件 ·
メンテナーはふだん 4 日以内に返信
-
kind/bug needs/triage os/linux
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
crowdsecurity/crowdsec#4836 · コメント 1 件 ·
メンテナーはふだん 4 日以内に返信
-
victorialogs datasource passes the trailing newline of a message to the parsers (traefik-logs 1.6 fails on every line)対応中かも @IlayWolfson が 6 日前に担当しました。 オープンkind/bug needs/triage os/linux version/1.8.2
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
crowdsecurity/crowdsec#4820 · コメント 1 件 ·
メンテナーはふだん 4 日以内に返信
-
[email protected]オープンneeds/kind needs/triage
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
crowdsecurity/crowdsec#4842 · コメント 3 件 ·
メンテナーはふだん 4 日以内に返信
-
MySQL: idle pool connections die after wait_timeout, log shows broken pipe対応中かも @AdzerKI が 3 日前に担当しました。 オープンkind/bug needs/triage
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
crowdsecurity/crowdsec#4840 · コメント 3 件 ·
メンテナーはふだん 4 日以内に返信
crowdsecurity/crowdsec の issue をすべて見る
似ている issue
-
enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
DaoCloud/DaoCloud-docs#7839 ·
メンテナーはふだん 1 日以内に返信
-
Type: Enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
projectdiscovery/urlfinder#167 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
peterstace/simplefeatures#726 ·
-
area: import bug go good first issue priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
fukubie/StockLlama#69 ·
-
enhancement help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
cloverworks-hq/rumpty-cli#95 ·
メンテナーはふだん 1 日以内に返信