Skip to content

Commit e050b22

Browse files
committed
Fixing the print of CVE's
1 parent 173fd5e commit e050b22

File tree

1 file changed

+1
-0
lines changed
  • data/modules/sourcecode/go/scan/clusterCVEs

1 file changed

+1
-0
lines changed

Diff for: data/modules/sourcecode/go/scan/clusterCVEs/main.go

+1
Original file line numberDiff line numberDiff line change
@@ -875,6 +875,7 @@ func checkForVulnerabilitiesBaseOnVersion(currentVersion Version) {
875875
isSmallerThanAll := 0
876876
knownCVEs := KNOWN_KUBERNETES_CVES
877877
for _, cve := range knownCVEs {
878+
vulnerable = false
878879
fixedVersions := cve.FixedVersions
879880
for _, cveVersion := range fixedVersions {
880881
if currentVersion.Major == cveVersion.Major {

0 commit comments

Comments
 (0)