aboutcode-org / aboutcode-org/vulnerablecode

apache_kafka_importer_v2 import error

未關閉
#2,280 4 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
702
分支
328
平均合併
3 天 8 小時
30 天內合併 PR
3

描述

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
```

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。