Repository navigation
Conversation
|
@ziadhany Thanks for your review. |
|
@Samk1710, could you please also fix the CI ? |
|
Hey @ziadhany |
|
Hey @ziadhany |
|
Hey @ziadhany I have rectified the PURL. Also added more data to test each OS type with their respective PURLs. Kindly review the changes when you have time. Thanks. |
|
Hey @ziadhany |
0f27746 to
7d47d46
Compare
ziadhany
left a comment
There was a problem hiding this comment.
The code looks good, just a few nits.
e4e1684 to
66be491
Compare
Thanks @ziadhany |
66be491 to
9597abf
Compare
|
Hey @ziadhany. Could you kindly have a look at the changes when time. Thanks. |
e8d2186 to
d7ed5f2
Compare
07a5af2 to
37938ee
Compare
|
@ziadhany Done with the changes. Please have a look when time |
37938ee to
6474f3a
Compare
|
The new endpoint at https://tuxcare.com/cve-tracker/api/cves/export/json is workable although the PURL resolution might be a bit difficult. Old advisory {
"cve": "CVE-2023-52922",
"os_name": "CentOS 8.5 ELS",
"project_name": "kernel",
"version": "4.18.0",
"score": "7.8",
"severity": "HIGH",
"status": "Released",
"last_updated": "2025-05-21 01:43:28.677045"
}Sample New Advisory {
"cve": "CVE-2026-59797",
"product": "CentOS 6 ELS",
"component": "httpd",
"version": "2.2.15",
"severity": "Critical",
"status": "In Research",
"published_date": "2026-10-01",
"type": null
}Currently we were using in https://github.com/aboutcode-org/vulnerablecode/pull/2104/changes#diff-11b0ceee4d3520186d775bd38d8898718ba0b40cea97007fff7dfe0f1fa5737a os_mapping = {
"ubuntu": ("deb", "ubuntu"),
"debian": ("deb", "debian"),
"centos": ("rpm", "centos"),
"almalinux": ("rpm", "almalinux"),
"rhel": ("rpm", "rhel"),
"oracle": ("rpm", "oracle"),
"cloudlinux": ("rpm", "cloudlinux"),
"alpine": ("apk", "alpine"),
"unknown": ("generic", "tuxcare"),
"tuxcare": ("generic", "tuxcare"),
}But now Tuxcare has 6814 unique products. This mapping alone will not suffice. See the gist for product frequencies here https://gist.github.com/Samk1710/0229b9dd41a66ba414dbed0464f24428. Also These are the top CVEs and their count |
|
Reply from Tuxcare Team
Link to conversation |
Signed-off-by: Sampurna Pyne <sampurnapyne1710@gmail.com>
Signed-off-by: Sampurna Pyne <sampurnapyne1710@gmail.com>
Signed-off-by: Sampurna Pyne <sampurnapyne1710@gmail.com>
Signed-off-by: Sampurna Pyne <sampurnapyne1710@gmail.com>
Signed-off-by: Sampurna Pyne <sampurnapyne1710@gmail.com>
Signed-off-by: Sampurna Pyne <sampurnapyne1710@gmail.com>
Signed-off-by: Sampurna Pyne <sampurnapyne1710@gmail.com>
Signed-off-by: Sampurna Pyne <sampurnapyne1710@gmail.com>
Signed-off-by: Sampurna Pyne <sampurnapyne1710@gmail.com>
Signed-off-by: Sampurna Pyne <sampurnapyne1710@gmail.com>
Signed-off-by: Sampurna Pyne <sampurnapyne1710@gmail.com>
6474f3a to
90fad0a
Compare
Signed-off-by: Sampurna Pyne <sampurnapyne1710@gmail.com>
90fad0a to
cfb7279
Compare
|
@ziadhany I have updated the importer to use the OSV Data Source: https://osv-vulnerabilities.storage.googleapis.com/TuxCare/all.zip python manage.py import tuxcare_importer_v2
Importing data using tuxcare_importer_v2
INFO 2026-10-22 09:47:23.518176 UTC Pipeline [TuxCareImporterPipeline] starting
INFO 2026-10-22 09:47:23.518356 UTC Step [fetch_zip] starting
INFO 2026-10-22 09:47:23.518440 UTC Fetching `https://osv-vulnerabilities.storage.googleapis.com/TuxCare/all.zip`
INFO 2026-10-22 09:47:27.134942 UTC Step [fetch_zip] completed in 4 seconds
INFO 2026-10-22 09:47:27.135528 UTC Step [collect_and_store_advisories] starting
INFO 2026-10-22 09:47:27.284310 UTC Collecting 17,688 advisories
INFO 2026-10-22 09:50:21.282477 UTC Progress: 10% (1769/17688) ETA: 1566 seconds (26.1 minutes)
INFO 2026-10-22 09:53:23.097456 UTC Progress: 20% (3538/17688) ETA: 1423 seconds (23.7 minutes)
INFO 2026-10-22 09:55:57.992284 UTC Progress: 30% (5307/17688) ETA: 1192 seconds (19.9 minutes)
INFO 2026-10-22 09:58:54.480809 UTC Progress: 40% (7076/17688) ETA: 1031 seconds (17.2 minutes)
INFO 2026-10-22 10:02:57.503693 UTC Progress: 50% (8844/17688) ETA: 930 seconds (15.5 minutes)
INFO 2026-10-22 10:05:37.188014 UTC Progress: 60% (10613/17688) ETA: 727 seconds (12.1 minutes)
INFO 2026-10-22 10:06:26.311517 UTC Progress: 70% (12382/17688) ETA: 488 seconds (8.1 minutes)
INFO 2026-10-22 10:07:17.769579 UTC Progress: 80% (14151/17688) ETA: 298 seconds (5.0 minutes)
INFO 2026-10-22 10:08:05.944168 UTC Progress: 90% (15920/17688) ETA: 138 seconds (2.3 minutes)
INFO 2026-10-22 10:09:13.021113 UTC Progress: 100% (17688/17688)
INFO 2026-10-22 10:09:13.051267 UTC Successfully collected 17,688 advisories
INFO 2026-10-22 10:09:13.051511 UTC Step [collect_and_store_advisories] completed in 1306 seconds (21.8 minutes)
INFO 2026-10-22 10:09:13.051590 UTC Pipeline completed in 1310 seconds (21.8 minutes) |
Addresses Issue:
Data Source: https://osv-vulnerabilities.storage.googleapis.com/TuxCare/all.zip
Importer Log Excerpt: