aboutcode-org / aboutcode-org/vulnerablecode

apache_kafka_importer_v2 import error

Đang mở
#2,280 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
702
Fork
328
Merge trung bình
3 ngày 8 giờ
Pull request đã merge (30 ngày)
3

Mô tả

Importing data using apache_kafka_importer_v2

```
INFO 2026-04-24 15:04:19.826634 UTC Pipeline [ApacheKafkaImporterPipeline] starting
INFO 2026-04-24 15:04:19.826728 UTC Step [fetch] starting
INFO 2026-04-24 15:04:19.826765 UTC Fetch `https://kafka.apache.org/community/cve-list/`
INFO 2026-04-24 15:04:20.560074 UTC Step [fetch] completed in 1 seconds
INFO 2026-04-24 15:04:20.560229 UTC Step [collect_and_store_advisories] starting
INFO 2026-04-24 15:04:20.561545 UTC Collecting 23 advisories
INFO 2026-04-24 15:04:20.563883 UTC Pipeline failed
INFO 2026-04-24 15:04:20.563969 UTC Running [on_failure] tasks
INFO 2026-04-24 15:04:20.564017 UTC Completed [on_failure] tasks in 0 seconds
'Apache Kafka Clients (kafka' is not a valid

Traceback:
File "/home/ubuntu/vulnerablecode/vulnerabilities/pipelines/__init__.py", line 111, in execute
step(self)
File "/home/ubuntu/vulnerablecode/vulnerabilities/pipelines/__init__.py", line 327, in collect_and_store_advisories
for advisory in progress.iter(self.collect_advisories()):
File "/home/ubuntu/vulnerablecode/venv/lib/python3.12/site-packages/aboutcode/pipeline/__init__.py", line 314, in iter
for item in iterator:
File "/home/ubuntu/vulnerablecode/vulnerabilities/pipelines/v2_importers/apache_kafka_importer.py", line 70, in collect
_advisories
yield self.to_advisory_data(table)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/vulnerablecode/vulnerabilities/pipelines/v2_importers/apache_kafka_importer.py", line 93, in to_advi
sory_data
affected_constraints = parse_range(raw_affected)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/vulnerablecode/vulnerabilities/pipes/apache_kafka.py", line 63, in parse_range
version=SemverVersion(lhs.strip()),
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 7, in __init__
self.__attrs_post_init__()
File "/home/ubuntu/vulnerablecode/venv/lib/python3.12/site-packages/univers/versions.py", line 87, in __attrs_post_init
__
raise InvalidVersion(f"{self.string!r} is not a valid {self.__class__!r}")
Importing data using nvd_importer_v2
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.