curl importer keeps only the first fixed version (166 missing across 66 advisories)
Maintainer thường phản hồi trong vòng 5 ngày
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 72/100
Hướng nghiên cứu
Bắt đầu từ parse_curl_advisory trong trình nhập curl_importer_v2, nơi events được đọc như events[1] và mọi sự kiện fixed khác đều bị loại bỏ. Sửa để thu thập tất cả sự kiện fixed từ các khoảng SEMVER vào fixed_version_range, sau đó thêm một kiểm thử với advisory có nhiều bản vá, chẳng hạn CURL-CVE-2026-107929. Hoàn thành khi cả bốn phiên bản đã sửa được lưu và trình nhập giữ đường dẫn UnboundLocalError từ #2214 ngoài phạm vi.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 722
- Fork
- 364
- Merge trung bình
- 2 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của aboutcode-org/vulnerablecode
-
Elixir Security importer drops affected packages when an advisory lists no patched or unaffected versionsCó thể đã có người làm @sanchit955 đã nhận 1 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
aboutcode-org/vulnerablecode#2540 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
ApacheTomcatImporterPipeline truncates milestone fixed versions (e.g. 11.0.0-M6 -> 11.0.0)Có thể đã có người làm @nikolya-ctrl đã nhận 3 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
aboutcode-org/vulnerablecode#2533 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
`gitlab_importer_v2` pipeline failing due to malformed YAML fileCó thể đã có người làm @Gowri213 đã nhận 4 ngày trước. Đang mởbug Pipeline: Failure Priority: high
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
aboutcode-org/vulnerablecode#2523 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 5 ngày
-
Affected-by-advisories v2 page returns 500 for a purl with no matching packageCó thể đã có người làm @sanchit955 đã nhận 12 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
aboutcode-org/vulnerablecode#2501 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
OSV v3 parser shares introduced/fixed commit patches across affected packagesCó thể đã có người làm @Celestial-0 đã nhận 25 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
aboutcode-org/vulnerablecode#2489 ·
Maintainer thường phản hồi trong vòng 5 ngày
Tất cả issue của aboutcode-org/vulnerablecode
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
521xueweihan/HelloGitHub#4599 ·
-
Bug Needs Triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
pandas-dev/pandas#72413 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
compiler-explorer/compiler-explorer#9710 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug harness
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
mruangutai/harness#2687 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
modal-labs/modal-client#4158 ·