Use CPE dictionary to improve recall on NVD API detector
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start in pkg/vuln/nvdapi/detector.go around lines 331-440 and review how CPEs are generated for NVD lookups. Then examine the NVD CPE Dictionary and determine whether dictionary entries should be reviewed manually or resolved automatically. Done means a decided dictionary-based approach improves CVE recall without undermining the current precision.
索引モデルが issue の本文から書いたものです。
説明
Context
Today, we search NVD for CVEs by constructing a CPE per package, and using that CPE for CVE lookups. The approach to this CPE generation was taken from Alpine's secfixes-tracker project, and extended slightly in some areas. Today the CPE generation code is here: https://github.com/wolfi-dev/wolfictl/blob/main/pkg/vuln/nvdapi/detector.go#L331-L440
This code helps the wolfictl adv discover command find new CVEs for our packages. While the precision of today's implementation is high, the recall is unverified and probably on the low side.
Idea
We could probably greatly improve recall by examining NVD's CPE Dictionary and trying to find dictionary entries that correspond to Wolfi packages. We could treat any hits in the dictionary as authoritative CPEs and avoid generating our own CPEs in that case.
We could extend today's CPE approach by manually reviewing the CPE dictionary, and that alone would be a win.
Bonus: It would be even cooler if we can automate this dictionary lookup, either by embedding some form of the dictionary in wolfictl, or by having wolfictl fetch and parse the dictionary at runtime.
- 主要言語
- Go
- スター
- 76
- フォーク
- 84
- 平均マージ
- 2日 14時間
- マージ済み PR(30日)
- 19
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
wolfi-dev/wolfictl のほかの issue
-
It'd be nice to have line numbers from wolfictl lint再び着手できるかも @sratslla が 727 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement needs-triage
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
wolfi-dev/wolfictl#1203 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
enhancement needs-triage
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
wolfi-dev/wolfictl#785 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
wolfi-dev/wolfictl の issue をすべて見る
似ている issue
-
automation doc-healer documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
tsukumogami/tsuku#2804 ·
メンテナーはふだん 1 日以内に返信
-
Anthropic /v1/messages: only the last thinking block of an assistant message is kept対応中かも @Shayan12456 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
ollama/ollama#19415 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
raised-by:verifier
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
medici-finance/assay#5039 ·
メンテナーはふだん 1 日以内に返信
-
metax CheckHealth reads Status.Capacity, so unhealthy Metax-GPU nodes are never cleaned up対応中かも @barbierajput378-pixel が今日担当しました。 オープンkind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Project-HAMi/HAMi#3343 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信