From 6f98e60eef6555aa8bfe4610085fa7db9191e93f Mon Sep 17 00:00:00 2001 From: Fabien Lehoussel Date: Tue, 24 Feb 2026 14:33:41 +0100 Subject: [PATCH] cve-check: fix CVE URL format Update NVD source to full URL format following CycloneDC 1.6 specification [1]. Before: "url": "https://nvd.nist.gov/" After: "url": "https://nvd.nist.gov/vuln/detail/CVE-XXXX" [1] https://cyclonedx.org/docs/1.6/json/#vulnerabilities_items_source_url Signed-off-by: Fabien Lehoussel Acked-By: Thomas Perale Signed-off-by: Romain Naour (cherry picked from commit ac466d4b1a0584fec0274085d2be4e2356f552b8) Signed-off-by: Thomas Perale --- support/scripts/cve-check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/scripts/cve-check b/support/scripts/cve-check index ff14e4b238..bcd970bad8 100755 --- a/support/scripts/cve-check +++ b/support/scripts/cve-check @@ -131,7 +131,7 @@ def nvd_cve_to_cdx_vulnerability(nvd_cve): "description": cve_api_get_lang_from_list(nvd_cve.get("descriptions", [])) or "", "source": { "name": "NVD", - "url": "https://nvd.nist.gov/" + "url": f"https://nvd.nist.gov/vuln/detail/{nvd_cve['id']}" }, **({ "published": nvd_cve["published"],