セキュリティ対応 (Frontend/Backend/MongoDB/Keycloak/postgres) - #421
Draft
Sachiaki-Kasuya wants to merge 7 commits into
Draft
セキュリティ対応 (Frontend/Backend/MongoDB/Keycloak/postgres)#421Sachiaki-Kasuya wants to merge 7 commits into
Sachiaki-Kasuya wants to merge 7 commits into
Conversation
Sachiaki-Kasuya
force-pushed
the
fix/security-update-202608
branch
from
August 26, 2026 04:39
03dc34b to
c565e3a
Compare
Sachiaki-Kasuya
force-pushed
the
fix/security-update-202608
branch
from
August 28, 2026 05:18
c565e3a to
6a6bd0e
Compare
|
|
||
| keycloak: | ||
| image: quay.io/keycloak/keycloak:26.5.1 | ||
| image: quay.io/keycloak/keycloak:26.7.2 |
Collaborator
There was a problem hiding this comment.
docker-compose.yml では Keycloak のバージョンが 26.7.2 に更新されていますが、docker-compose-dev.yml 側も合わせて更新する必要はないでしょうか?
Collaborator
Author
There was a problem hiding this comment.
docker-compose-dev.yml 更新いたします
その他の修正箇所に関しては一旦別PRで対応とさせていただきます
Sachiaki-Kasuya
force-pushed
the
fix/security-update-202608
branch
from
September 2, 2026 06:16
0d00033 to
40b129a
Compare
Sachiaki-Kasuya
force-pushed
the
fix/security-update-202608
branch
from
September 2, 2026 07:05
40b129a to
6b5ddad
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
変更内容(共通)
表題の各環境のイメージを最新版に更新
下記は対応後のtrivy結果
修正方針
以下の方針を検討
Node.js (node-pkg) 脆弱性 #405
共通項目(frontend・backend)
frontend, backendで下記の対応を実施
残った未対応パッケージ
イメージを更新したものの下記のパッケージが依存関係によりTrivyで検出、アプリで(直接利用)がないため .trivyignore で除外を検討
brace-expansion(HIGH、ESLint/jest依存)picomatch(HIGH、ESLint/jest依存)※検出されたが影響(アプリで直接利用)がないため .trivyignore で除外を検討
ip-address(HIGH)sigstore(HIGH)tar(CRITICAL、 HIGH)frontend 未対応パッケージ
postcss(HIGH、next依存、要next16系へのメジャーバージョンアップ)next依存のため影響範囲が広く、nextの更新を検討
backend 未対応パッケージ
multer(HIGH、nestjs依存、要nestjs11系へのメジャーバージョン)影響範囲としてはファイルアップロード系、
マイナーバージョンアップでの対応が可能のため、overrides での更新も検討
mongo 未対応パッケージ
js-yaml(HIGH)利用箇所がイメージ構築時とかなり限定的のため、.trivyignore での除外も検討
debian 脆弱性 #408 #409
frontend、backend、orion、postgres のイメージを最新版に更新したものの、修正版が未対応のため脆弱性が残存
各debianのバージョンは違うが、修正前と同様にcurl系パッケージでCRITICALが発生(詳細はissueを参照)
gosu (gobinary) 脆弱性 #407
利用しているgosuを最新版にすることで解消は可能
直接アプリケーションの動作には関わらないため、修正方針については検討(詳細はissueを参照)
mongo(Ubuntu 24.04) 脆弱性 #410
mongoイメージを最新版(8.0.29)に更新して解消
Java (jar) 脆弱性 #406
Keycloakイメージを最新版(26.7.2)にしたものの、イメージ内の OS パッケージが起因でありアプリケーションから直接利用していないため影響は限定的
com.microsoft.sqlserver:mssql-jdbc(HIGH)Microsoft SQL Server 用 JDBC ドライバに対する脆弱性であるが、当環境では PostgreSQL を利用のため影響はない
Keycloak (redhat 9.7) 脆弱性 #411
Keycloakイメージを最新版(26.7.2)にしたものの、イメージ内の OS パッケージ起因でありアプリケーションから直接利用していないため影響は限定的、修正前と同様のものが残存(詳細はissueを参照)
動作確認