From e552cd3c8eb8f716d45546cce612a1e126ab5015 Mon Sep 17 00:00:00 2001 From: Jahziel Villasana-Espinoza Date: Mon, 3 Mar 2025 16:50:25 -0500 Subject: [PATCH] added new vulns and continuesToUpdate to python alpha version cve tests (#26785) > For #26748 # Checklist for submitter If some of the following don't apply, delete the relevant line. - [x] Added/updated automated tests - [x] Manual QA for all new/changed functionality --- server/vulnerabilities/nvd/cve_test.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/server/vulnerabilities/nvd/cve_test.go b/server/vulnerabilities/nvd/cve_test.go index 4bfc91d8ce..91e9c49173 100644 --- a/server/vulnerabilities/nvd/cve_test.go +++ b/server/vulnerabilities/nvd/cve_test.go @@ -503,7 +503,12 @@ func TestTranslateCPEToCVE(t *testing.T) { ID: "CVE-2024-9287", resolvedInVersion: "", }, + { + ID: "CVE-2025-0938", + resolvedInVersion: "3.14.0a5", + }, }, + continuesToUpdate: true, }, "cpe:2.3:a:python:python:3.14.0:alpha2:*:*:*:macos:*:*": { includedCVEs: []cve{ @@ -511,10 +516,22 @@ func TestTranslateCPEToCVE(t *testing.T) { ID: "CVE-2024-12254", resolvedInVersion: "3.14.0a3", }, + { + ID: "CVE-2025-0938", + resolvedInVersion: "3.14.0a5", + }, }, + continuesToUpdate: true, }, "cpe:2.3:a:python:python:3.14.0:alpha3:*:*:*:macos:*:*": { excludedCVEs: []string{"CVE-2024-12254"}, + includedCVEs: []cve{ + { + ID: "CVE-2025-0938", + resolvedInVersion: "3.14.0a5", + }, + }, + continuesToUpdate: true, }, }