curl importer keeps only the first fixed version (166 missing across 66 advisories)
メンテナーはふだん 5 日以内に返信
評価
調査の方向性
curl_importer_v2 インポーターの parse_curl_advisory から始めてください。ここでは events が events[1] として読み取られ、他のすべての fixed イベントが破棄されています。SEMVER 範囲のすべての fixed イベントを fixed_version_range に収集するように変更し、次に CURL-CVE-2026-107929 のような複数の修正を含むアドバイザリでテストを追加してください。4つの修正バージョンがすべて保存され、インポーターが #2214 の UnboundLocalError パスを対象外のままにしていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
curl_importer_v2 only records the first fixed version of each curl advisory.
curl's vuln.json has one introduced/fixed pair for every release line that got a fix. parse_curl_advisory reads events[1] and ignores the rest:
events = get_item(ranges, "events")[1] if len(get_item(ranges, "events")) > 1 else {}
I ran the parser from main (9a9c9b3) over today's feed:
| count | |
|---|---|
| advisories | 239 |
| fixed versions listed in the SEMVER ranges | 405 |
fixed versions missing from fixed_version_range |
166 |
| advisories affected | 66 |
Example, CURL-CVE-2026-107929:
- feed: fixed in
8.14.3,8.16.2,8.20.2and8.23.0 - imported:
vers:generic/8.14.3
So for that CVE, 8.23.0 is never stored as a fix. Someone on a newer release line is only pointed at the oldest branch.
I have a small fix with a test that collects every fixed event. With it, the same comparison shows 0 missing. I'd like to open the PR for this.
This is separate from #2214, which handles the UnboundLocalError for advisories without a SEMVER range.
- 主要言語
- Python
- スター
- 722
- フォーク
- 364
- 平均マージ
- 2日 22時間
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
aboutcode-org/vulnerablecode のほかの issue
-
Elixir Security importer drops affected packages when an advisory lists no patched or unaffected versions対応中かも @sanchit955 が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
aboutcode-org/vulnerablecode#2540 ·
メンテナーはふだん 5 日以内に返信
-
ApacheTomcatImporterPipeline truncates milestone fixed versions (e.g. 11.0.0-M6 -> 11.0.0)対応中かも @nikolya-ctrl が 3 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
aboutcode-org/vulnerablecode#2533 ·
メンテナーはふだん 5 日以内に返信
-
`gitlab_importer_v2` pipeline failing due to malformed YAML file対応中かも @Gowri213 が 4 日前に担当しました。 オープンbug Pipeline: Failure Priority: high
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
aboutcode-org/vulnerablecode#2523 · コメント 1 件 ·
メンテナーはふだん 5 日以内に返信
-
Affected-by-advisories v2 page returns 500 for a purl with no matching package対応中かも @sanchit955 が 12 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
aboutcode-org/vulnerablecode#2501 ·
メンテナーはふだん 5 日以内に返信
-
OSV v3 parser shares introduced/fixed commit patches across affected packages対応中かも @Celestial-0 が 25 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
aboutcode-org/vulnerablecode#2489 ·
メンテナーはふだん 5 日以内に返信
aboutcode-org/vulnerablecode の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
521xueweihan/HelloGitHub#4599 ·
-
Bug Needs Triage
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
pandas-dev/pandas#72413 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
compiler-explorer/compiler-explorer#9710 ·
メンテナーはふだん 1 日以内に返信
-
bug harness
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
mruangutai/harness#2687 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
modal-labs/modal-client#4158 ·