GHSA-8v8j-3hxp-93wr / GHSA-wwpq-f5c3-7hvx: Dependabot incorrectly flags spring-boot 4.1.0 as vulnerable
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- spring-boot
- 領域
- security
調査の方向性
まず GHSA-8v8j-3hxp-93wr と GHSA-wwpq-f5c3-7hvx のレコードを見つけ、次にそれらの脆弱なバージョン範囲がどのように表現され、Spring Boot のバージョンと比較されるかを追跡します。4.1.0 がフラグ付けされる原因がアドバイザリーデータにあるのか、比較の動作にあるのかを特定します。4.1.0 に対してアラートが適用されなくなり、影響を受ける範囲が正確なままであれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Summary
Dependabot is generating alerts for org.springframework.boot:spring-boot:4.1.0 against both GHSA-8v8j-3hxp-93wr and GHSA-wwpq-f5c3-7hvx.
Problem
Both advisories explicitly define the vulnerable range as >= 4.0.0, < 4.0.6 for the 4.x branch.
4.1.0 > 4.0.6 — it is mathematically outside the vulnerable range. Spring Boot 4.1.0 was released after 4.0.6 and includes the fixes for both CVEs.
The advisory descriptions confirm this:
- GHSA-8v8j-3hxp-93wr: "Spring Boot 4.0.0–4.0.5; upgrade to 4.0.6 or later"
- GHSA-wwpq-f5c3-7hvx: "Spring Boot 4.0.0–4.0.5 (fix 4.0.6)"
Impact
Repositories using Spring Boot 4.1.0 (the latest release) receive incorrect CRITICAL and HIGH Dependabot alerts for vulnerabilities that do not affect them.
Expected behaviour
Dependabot should not flag spring-boot:4.1.0 since 4.1.0 >= 4.0.6.
Suggestion
If the advisory is correct as written and the scanner is the bug, please fix the version comparison logic.
If 4.1.x is also affected (which the advisory text contradicts), please add a separate vulnerable range >= 4.1.0, < 4.1.x with an explicit patched version.
- 主要言語
- 言語のデータがありません
- スター
- 2.5k
- フォーク
- 772
- 平均マージ
- 3日 15時間
- マージ済み PR(30日)
- 46
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/advisory-database のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
github/advisory-database#9255 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
github/advisory-database#9164 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
github/advisory-database#8994 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
github/advisory-database#8898 · コメント 4 件 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
github/advisory-database#8841 ·
github/advisory-database の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
oblt-aw/detector/security
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
setup tools wizard offers no GitHub auth path, and setup summary doesn't recognize `gh` CLI auth オープンarea/auth comp/cli P3 tool/skills type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
NousResearch/hermes-agent#121131 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
trailofbits/skills#330 ·
-
accepted
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100