Suggest improvements form saves "Source code location" as a WEB reference instead of PACKAGE
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- github
- 領域
- security
調査の方向性
Start by comparing the form submission in pull request #9631 with the existing source repository reference in GHSA-rjqq-98f6-6j3r. Trace how the “Source code location” field is converted into a reference, then verify that the resulting entry uses type PACKAGE rather than WEB for the reported URL.
索引モデルが issue の本文から書いたものです。
説明
I used the "Suggest improvements for this vulnerability" form on GHSA-xc6g-ggrc-qq4r. The advisory had no source code location, so I set it to https://github.com/apostrophecms/sanitize-html. In the pull request #9631 the form added it as a reference with the WEB type.
+ {
+ "type": "WEB",
+ "url": "https://github.com/apostrophecms/sanitize-html"
+ },
Other advisories keep the source repository as a PACKAGE reference. For example, GHSA-rjqq-98f6-6j3r has the same URL with "type": "PACKAGE".
I expect the form to save the source code location as a PACKAGE reference.
- 主要言語
- 言語のデータがありません
- スター
- 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
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
Nmap
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
Mend: dependency security vulnerability untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
blocklist removal
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
MetaMask/eth-phishing-detect#296544 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Azure/azure-functions-docker#1257 ·