CVE alerts for running services, with optional Compose and repository updates

オープン
#5,726 コメント 1 件 リアクション 11 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
docker, docker-compose, postgresql, typescript

調査の方向性

The issue proposes several stages, starting with service inventory, advisory matching, and notifications; it does not name source files or tests. Read the deployment and notification entry points, then inspect how Dokploy represents local, remote, and Swarm services. A first scope is complete when affected running versions can be matched to advisories and findings are reported without repeating alerts.

索引モデルが issue の本文から書いたものです。

説明

enhancement
What problem will this feature address?

When a security advisory comes out, I'd like to know which of my running services are affected without checking every container and repository by hand. An image tag doesn't always tell the whole story: a custom application image can contain an older PHP runtime, for example.

The PHP security release on 21 October 2026 is a good example. CVE-2026-109618 and CVE-2026-109619 affect PHP versions that were current until that release. For an upstream PHP 8.3.35 installation, it would be useful for Dokploy to identify the affected service and point to 8.3.36 as the fixed version.

Finding the affected container is only half the work. The version might be set in Dokploy's Compose editor, a Compose file in Git, or a Dockerfile used to build the application.

Describe the solution you'd like

An optional security view for running services, with notifications when a CVE affects the installed version.

The main things I'd like it to do are:

  • Inventory running services on the local server, remote servers and Swarm nodes, including the actual image digest and detectable runtime/package versions.
  • Use CIRCL's public Vulnerability-Lookup service to find relevant advisories, then check their affected-version ranges against what is installed.
  • Show the affected service, component, installed version, CVE, severity and fixed version when one is available.
  • Check after deployments and periodically, since a new CVE can affect a container that hasn't changed. Reuse the existing notification channels and avoid sending the same alert repeatedly.
  • Clearly show when a version couldn't be detected or applicability is uncertain.

I'd also like an optional way to prepare the fix:

  • For Compose stored in Dokploy, show a proposed change to the image tag or version variable before applying it.
  • For deployments from Git, offer to open a PR updating the relevant Compose file, Dockerfile base image or version variable.
  • Pull or rebuild as needed, then check the running replacement before marking the finding as resolved. Updating an application image should preserve its image variant and compatibility requirements.

I think inventory, matching and notifications would make a useful first contribution. The update actions could follow in separate PRs once that foundation is agreed on.

Describe alternatives you've considered

Running a scanner such as Trivy or Grype separately, and using Renovate or Dependabot for repository updates. Those can cover parts of this, but still leave the work of connecting an advisory to the exact service and image currently running in Dokploy.

Manually tracking vendor advisories and updating Compose files also works, but becomes harder across multiple projects and servers.

Additional context

I checked the public Vulnerability-Lookup API with both PHP CVEs above, and it already returns their affected-version ranges.

There are a couple of details worth getting right: its CPE search returns candidates by vendor/product rather than proving that a specific version is affected, and vendor aliases matter. In my check, searching php/php missed these advisories while PHP Group/PHP returned them. Distribution packages also need to account for backported fixes.

The scanner choice and exact integration are open for discussion. API requests should be cached and respect the public service's limits; container secrets and full inventories should stay local. Repository update support would also need the appropriate write permissions.

Will you send a PR to implement it?

Yes. I'm happy to supply a PR once the maintainers give the go-ahead on the scope and approach. Following the contribution guidelines, I'd base the work on canary, keep the PRs focused, add tests and documentation, and test the changes in a local Dokploy instance before submitting.

主要言語
TypeScript
スター
38.8k
フォーク
3.2k
平均マージ
1日 10時間
マージ済み PR(30日)
110

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Dokploy/dokploy のほかの issue

Dokploy/dokploy の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。