From b498d3b889dde896d576b587d697ed93b2b9da79 Mon Sep 17 00:00:00 2001 From: Mustafa Gezen Date: Fri, 3 Feb 2023 04:22:47 +0100 Subject: [PATCH] Use MITRE to reference CVEs --- apollo/server/routes/api_compat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apollo/server/routes/api_compat.py b/apollo/server/routes/api_compat.py index 5b77a1a..5841451 100644 --- a/apollo/server/routes/api_compat.py +++ b/apollo/server/routes/api_compat.py @@ -106,9 +106,9 @@ def v3_advisory_to_v2( cvss3ScoringVector=cve.cvss3_scoring_vector, cvss3BaseScore=cve.cvss3_base_score, cwe=cve.cwe, - sourceBy="Red Hat", + sourceBy="MITRE", sourceLink= - f"https://access.redhat.com/hydra/rest/securitydata/cve/{cve.cve}.json", + f"https://cve.mitre.org/cgi-bin/cvename.cgi?name={cve.cve}", ) )