{"uuid": "4284e21e-3e1a-4d88-84b2-8872b71807cb", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2023-20198", "type": "seen", "source": "https://gist.github.com/tu-trinh-scale/164a6efce719a9470ff16547904f7531", "content": "diff --git a/.gitignore b/.gitignore\nindex 7f21d1e..8dfc8da 100644\n--- a/.gitignore\n+++ b/.gitignore\n@@ -4,6 +4,7 @@\n *.sqlite3*\n *.db\n *.toml\n+!config/kevuln.example.toml\n tags\n .gitmodules\n coverage.out\ndiff --git a/README.md b/README.md\nindex 57102d1..1bd4e5c 100644\n--- a/README.md\n+++ b/README.md\n@@ -93,6 +93,9 @@ Vuls is a tool created to solve the problems listed above. It has the following\n - CISA(Cybersecurity &amp; Infrastructure Security Agency)\n   - [Known Exploited Vulnerabilities Catalog](https://www.cisa.gov/known-exploited-vulnerabilities-catalog)\n \n+- VulnCheck\n+  - [Known Exploited Vulnerabilities](https://vulncheck.com/kev)\n+\n - Cyber Threat Intelligence(MITRE ATT&amp;CK and CAPEC)\n   - [mitre/cti](https://github.com/mitre/cti)\n \n@@ -152,6 +155,18 @@ Vuls has some options to detect the vulnerabilities\n - [Common Platform Enumeration (CPE) based Scan](https://vuls.io/docs/en/usage-scan-non-os-packages.html#cpe-scan)\n - [OWASP Dependency Check Integration](https://vuls.io/docs/en/usage-scan-non-os-packages.html#usage-integrate-with-owasp-dependency-check-to-automatic-update-when-the-libraries-are-updated-experimental)\n \n+### KEV reporting\n+\n+Use `config/kevuln.example.toml` as a starting point for report configuration that enables Known Exploited Vulnerability enrichment through `go-kev`:\n+\n+```toml\n+[kevuln]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/go-kev.sqlite3\"\n+```\n+\n+A sample report with the first-class `kevs` field populated is available at `examples/kev-scan-result.json`.\n+\n ## Scan WordPress core, themes, plugins\n \n - [Scan WordPress](https://vuls.io/docs/en/usage-scan-wordpress.html)\ndiff --git a/config/kevuln.example.toml b/config/kevuln.example.toml\nnew file mode 100644\nindex 0000000..f7e6fd7\n--- /dev/null\n+++ b/config/kevuln.example.toml\n@@ -0,0 +1,35 @@\n+# Example Vuls report configuration with KEV reporting enabled.\n+# Adjust database paths and the server section for your environment.\n+\n+[cveDict]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/cve.sqlite3\"\n+\n+[ovalDict]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/oval.sqlite3\"\n+\n+[gost]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/gost.sqlite3\"\n+\n+[exploit]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/go-exploitdb.sqlite3\"\n+\n+[metasploit]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/go-msfdb.sqlite3\"\n+\n+[kevuln]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/go-kev.sqlite3\"\n+\n+[cti]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/go-cti.sqlite3\"\n+\n+[servers.localhost]\n+host = \"localhost\"\n+port = \"local\"\n+scanMode = [\"fast-root\"]\ndiff --git a/detector/kevuln.go b/detector/kevuln.go\nindex 41afdfe..c500ff7 100644\n--- a/detector/kevuln.go\n+++ b/detector/kevuln.go\n@@ -6,6 +6,8 @@ package detector\n import (\n \t\"encoding/json\"\n \t\"net/http\"\n+\t\"reflect\"\n+\t\"strings\"\n \t\"time\"\n \n \t\"github.com/cenkalti/backoff\"\n@@ -79,19 +81,12 @@ func FillWithKEVuln(r *models.ScanResult, cnf config.KEVulnConf, logOpts logging\n \t\t\t\treturn err\n \t\t\t}\n \n-\t\t\talerts := []models.Alert{}\n-\t\t\tif len(kevulns) &gt; 0 {\n-\t\t\t\talerts = append(alerts, models.Alert{\n-\t\t\t\t\tTitle: \"Known Exploited Vulnerabilities Catalog\",\n-\t\t\t\t\tURL:   \"https://www.cisa.gov/known-exploited-vulnerabilities-catalog\",\n-\t\t\t\t\tTeam:  \"cisa\",\n-\t\t\t\t})\n-\t\t\t}\n-\n \t\t\tv, ok := r.ScannedCves[res.request.cveID]\n \t\t\tif ok {\n-\t\t\t\tv.AlertDict.CISA = alerts\n-\t\t\t\tnKEV++\n+\t\t\t\tv.KEVs = kevulnsToModels(kevulns)\n+\t\t\t\tif len(v.KEVs) &gt; 0 {\n+\t\t\t\t\tnKEV++\n+\t\t\t\t}\n \t\t\t}\n \t\t\tr.ScannedCves[res.request.cveID] = v\n \t\t}\n@@ -108,17 +103,10 @@ func FillWithKEVuln(r *models.ScanResult, cnf config.KEVulnConf, logOpts logging\n \t\t\t\tcontinue\n \t\t\t}\n \n-\t\t\talerts := []models.Alert{}\n-\t\t\tif len(kevulns) &gt; 0 {\n-\t\t\t\talerts = append(alerts, models.Alert{\n-\t\t\t\t\tTitle: \"Known Exploited Vulnerabilities Catalog\",\n-\t\t\t\t\tURL:   \"https://www.cisa.gov/known-exploited-vulnerabilities-catalog\",\n-\t\t\t\t\tTeam:  \"cisa\",\n-\t\t\t\t})\n+\t\t\tvuln.KEVs = kevulnsToModels(kevulns)\n+\t\t\tif len(vuln.KEVs) &gt; 0 {\n+\t\t\t\tnKEV++\n \t\t\t}\n-\n-\t\t\tvuln.AlertDict.CISA = alerts\n-\t\t\tnKEV++\n \t\t\tr.ScannedCves[cveID] = vuln\n \t\t}\n \t}\n@@ -127,6 +115,177 @@ func FillWithKEVuln(r *models.ScanResult, cnf config.KEVulnConf, logOpts logging\n \treturn nil\n }\n \n+func kevulnsToModels(kevulns []kevulnmodels.KEVuln) (kevs []models.KEV) {\n+\tfor _, kevuln := range kevulns {\n+\t\tkev := kevulnToModel(kevuln)\n+\t\tif kev.Type == \"\" {\n+\t\t\tkev.Type = models.CISAKEVType\n+\t\t}\n+\t\tif kev.Type == models.CISAKEVType {\n+\t\t\tkev.CISA = &amp;models.CISAKEV{Note: stringField(reflect.ValueOf(kevuln), \"Notes\", \"Note\")}\n+\t\t} else if kev.Type == models.VulnCheckKEVType {\n+\t\t\tkev.VulnCheck = vulnCheckKEV(reflect.ValueOf(kevuln))\n+\t\t}\n+\t\tkevs = append(kevs, kev)\n+\t}\n+\treturn kevs\n+}\n+\n+func kevulnToModel(kevuln kevulnmodels.KEVuln) models.KEV {\n+\tv := reflect.ValueOf(kevuln)\n+\treturn models.KEV{\n+\t\tType:                       kevType(v),\n+\t\tVendorProject:              stringField(v, \"VendorProject\", \"Vendor\"),\n+\t\tProduct:                    stringField(v, \"Product\"),\n+\t\tVulnerabilityName:          stringField(v, \"VulnerabilityName\", \"Name\"),\n+\t\tShortDescription:           stringField(v, \"ShortDescription\", \"Description\"),\n+\t\tRequiredAction:             stringField(v, \"RequiredAction\"),\n+\t\tKnownRansomwareCampaignUse: stringField(v, \"KnownRansomwareCampaignUse\", \"RansomwareCampaignUse\"),\n+\t\tDateAdded:                  timeField(v, \"DateAdded\"),\n+\t\tDueDate:                    timePtrField(v, \"DueDate\"),\n+\t}\n+}\n+\n+func kevType(v reflect.Value) models.KEVType {\n+\ts := strings.ToLower(stringField(v, \"Type\", \"Source\"))\n+\ts = strings.ReplaceAll(s, \"_\", \"-\")\n+\ts = strings.ReplaceAll(s, \" \", \"-\")\n+\tswitch s {\n+\tcase \"vulncheck\", \"vulncheck-kev\":\n+\t\treturn models.VulnCheckKEVType\n+\tdefault:\n+\t\treturn models.CISAKEVType\n+\t}\n+}\n+\n+func vulnCheckKEV(v reflect.Value) *models.VulnCheckKEV {\n+\treturn &amp;models.VulnCheckKEV{\n+\t\tXDB:                  vulnCheckXDBs(fieldByName(v, \"XDB\", \"Xdb\", \"XDBs\", \"Xdbs\")),\n+\t\tReportedExploitation: vulnCheckReportedExploitations(fieldByName(v, \"ReportedExploitation\", \"ReportedExploitations\")),\n+\t}\n+}\n+\n+func vulnCheckXDBs(v reflect.Value) (xdbs []models.VulnCheckXDB) {\n+\tv = indirectValue(v)\n+\tif !v.IsValid() || v.Kind() != reflect.Slice {\n+\t\treturn nil\n+\t}\n+\tfor i := 0; i &lt; v.Len(); i++ {\n+\t\te := v.Index(i)\n+\t\txdbs = append(xdbs, models.VulnCheckXDB{\n+\t\t\tXDBID:       stringField(e, \"XDBID\", \"XdbID\", \"ID\"),\n+\t\t\tXDBURL:      stringField(e, \"XDBURL\", \"XdbURL\", \"URL\"),\n+\t\t\tDateAdded:   timeField(e, \"DateAdded\"),\n+\t\t\tExploitType: stringField(e, \"ExploitType\", \"Type\"),\n+\t\t\tCloneSSHURL: stringField(e, \"CloneSSHURL\", \"CloneSSHUrl\"),\n+\t\t})\n+\t}\n+\treturn xdbs\n+}\n+\n+func vulnCheckReportedExploitations(v reflect.Value) (reported []models.VulnCheckReportedExploitation) {\n+\tv = indirectValue(v)\n+\tif !v.IsValid() || v.Kind() != reflect.Slice {\n+\t\treturn nil\n+\t}\n+\tfor i := 0; i &lt; v.Len(); i++ {\n+\t\te := v.Index(i)\n+\t\treported = append(reported, models.VulnCheckReportedExploitation{\n+\t\t\tURL:       stringField(e, \"URL\"),\n+\t\t\tDateAdded: timeField(e, \"DateAdded\"),\n+\t\t})\n+\t}\n+\treturn reported\n+}\n+\n+func fieldByName(v reflect.Value, names ...string) reflect.Value {\n+\tv = indirectValue(v)\n+\tif !v.IsValid() || v.Kind() != reflect.Struct {\n+\t\treturn reflect.Value{}\n+\t}\n+\tfor _, name := range names {\n+\t\tfield := v.FieldByName(name)\n+\t\tif field.IsValid() {\n+\t\t\treturn field\n+\t\t}\n+\t}\n+\treturn reflect.Value{}\n+}\n+\n+func stringField(v reflect.Value, names ...string) string {\n+\tv = indirectValue(v)\n+\tif !v.IsValid() || v.Kind() != reflect.Struct {\n+\t\treturn \"\"\n+\t}\n+\tfor _, name := range names {\n+\t\tfield := v.FieldByName(name)\n+\t\tif field.IsValid() &amp;&amp; field.Kind() == reflect.String &amp;&amp; field.CanInterface() {\n+\t\t\treturn field.String()\n+\t\t}\n+\t}\n+\treturn \"\"\n+}\n+\n+func timeField(v reflect.Value, names ...string) time.Time {\n+\tv = indirectValue(v)\n+\tif !v.IsValid() || v.Kind() != reflect.Struct {\n+\t\treturn time.Time{}\n+\t}\n+\tfor _, name := range names {\n+\t\tfield := v.FieldByName(name)\n+\t\tif !field.IsValid() {\n+\t\t\tcontinue\n+\t\t}\n+\t\tif !field.CanInterface() {\n+\t\t\tcontinue\n+\t\t}\n+\t\tif t, ok := field.Interface().(time.Time); ok {\n+\t\t\treturn t\n+\t\t}\n+\t\tif field.Kind() == reflect.Ptr &amp;&amp; !field.IsNil() {\n+\t\t\tif t, ok := field.Interface().(*time.Time); ok {\n+\t\t\t\treturn *t\n+\t\t\t}\n+\t\t}\n+\t}\n+\treturn time.Time{}\n+}\n+\n+func timePtrField(v reflect.Value, names ...string) *time.Time {\n+\tv = indirectValue(v)\n+\tif !v.IsValid() || v.Kind() != reflect.Struct {\n+\t\treturn nil\n+\t}\n+\tfor _, name := range names {\n+\t\tfield := v.FieldByName(name)\n+\t\tif !field.IsValid() {\n+\t\t\tcontinue\n+\t\t}\n+\t\tif !field.CanInterface() {\n+\t\t\tcontinue\n+\t\t}\n+\t\tif t, ok := field.Interface().(time.Time); ok &amp;&amp; !t.IsZero() {\n+\t\t\treturn &amp;t\n+\t\t}\n+\t\tif field.Kind() == reflect.Ptr &amp;&amp; !field.IsNil() {\n+\t\t\tif t, ok := field.Interface().(*time.Time); ok {\n+\t\t\t\treturn t\n+\t\t\t}\n+\t\t}\n+\t}\n+\treturn nil\n+}\n+\n+func indirectValue(v reflect.Value) reflect.Value {\n+\tif !v.IsValid() {\n+\t\treturn v\n+\t}\n+\tfor v.Kind() == reflect.Ptr &amp;&amp; !v.IsNil() {\n+\t\tv = v.Elem()\n+\t}\n+\treturn v\n+}\n+\n type kevulnResponse struct {\n \trequest kevulnRequest\n \tjson    string\ndiff --git a/examples/kev-scan-result.json b/examples/kev-scan-result.json\nnew file mode 100644\nindex 0000000..2d0b784\n--- /dev/null\n+++ b/examples/kev-scan-result.json\n@@ -0,0 +1,58 @@\n+{\n+  \"jsonVersion\": 4,\n+  \"lang\": \"en\",\n+  \"serverName\": \"localhost\",\n+  \"family\": \"ubuntu\",\n+  \"release\": \"22.04\",\n+  \"scannedAt\": \"2026-07-03T00:00:00Z\",\n+  \"reportedAt\": \"2026-07-03T00:00:00Z\",\n+  \"scannedCves\": {\n+    \"CVE-2023-20198\": {\n+      \"cveID\": \"CVE-2023-20198\",\n+      \"kevs\": [\n+        {\n+          \"type\": \"cisa\",\n+          \"vendorProject\": \"Cisco\",\n+          \"product\": \"IOS XE Web UI\",\n+          \"vulnerabilityName\": \"Cisco IOS XE Web UI Privilege Escalation Vulnerability\",\n+          \"shortDescription\": \"Cisco IOS XE Web UI contains a privilege escalation vulnerability that allows a remote, unauthenticated attacker to create an account with privilege level 15 access.\",\n+          \"requiredAction\": \"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.\",\n+          \"knownRansomwareCampaignUse\": \"Unknown\",\n+          \"dateAdded\": \"2023-10-16T00:00:00Z\",\n+          \"dueDate\": \"2023-10-20T00:00:00Z\",\n+          \"cisa\": {\n+            \"note\": \"https://www.cisa.gov/known-exploited-vulnerabilities-catalog\"\n+          }\n+        },\n+        {\n+          \"type\": \"vulncheck\",\n+          \"vendorProject\": \"Cisco\",\n+          \"product\": \"IOS XE Web UI\",\n+          \"vulnerabilityName\": \"Cisco IOS XE Web UI Privilege Escalation Vulnerability\",\n+          \"shortDescription\": \"Cisco IOS XE Web UI contains a privilege escalation vulnerability.\",\n+          \"dateAdded\": \"2023-10-16T00:00:00Z\",\n+          \"vulncheck\": {\n+            \"xdb\": [\n+              {\n+                \"xdbID\": \"XDB-123456\",\n+                \"xdbURL\": \"https://vulncheck.com/xdb/XDB-123456\",\n+                \"dateAdded\": \"2023-10-17T00:00:00Z\",\n+                \"exploitType\": \"initial-access\",\n+                \"cloneSSHURL\": \"git@github.com:vulncheck/xdb.git\"\n+              }\n+            ],\n+            \"reportedExploitation\": [\n+              {\n+                \"url\": \"https://vulncheck.com/blog/cisco-ios-xe-exploitation\",\n+                \"dateAdded\": \"2023-10-17T00:00:00Z\"\n+              }\n+            ]\n+          }\n+        }\n+      ]\n+    }\n+  },\n+  \"packages\": {},\n+  \"errors\": [],\n+  \"warnings\": []\n+}\ndiff --git a/models/scanresults.go b/models/scanresults.go\nindex 508b992..f17b095 100644\n--- a/models/scanresults.go\n+++ b/models/scanresults.go\n@@ -197,13 +197,14 @@ func (r ScanResult) FormatTextReportHeader() string {\n \t\tpkgs = fmt.Sprintf(\"%s, %d libs\", pkgs, r.LibraryScanners.Total())\n \t}\n \n-\treturn fmt.Sprintf(\"%s\\n%s\\n%s\\n%s, %s, %s, %s\\n%s\\n\",\n+\treturn fmt.Sprintf(\"%s\\n%s\\n%s\\n%s, %s, %s, %s, %s\\n%s\\n\",\n \t\tr.ServerInfo(),\n \t\tbuf.String(),\n \t\tr.ScannedCves.FormatCveSummary(),\n \t\tr.ScannedCves.FormatFixedStatus(r.Packages),\n \t\tr.FormatExploitCveSummary(),\n \t\tr.FormatMetasploitCveSummary(),\n+\t\tr.FormatKEVCveSummary(),\n \t\tr.FormatAlertSummary(),\n \t\tpkgs)\n }\n@@ -251,15 +252,22 @@ func (r ScanResult) FormatMetasploitCveSummary() string {\n \treturn fmt.Sprintf(\"%d exploits\", nMetasploitCve)\n }\n \n+// FormatKEVCveSummary returns a summary of KEV CVEs.\n+func (r ScanResult) FormatKEVCveSummary() string {\n+\tnKEVCve := 0\n+\tfor _, vuln := range r.ScannedCves {\n+\t\tif 0 &lt; len(vuln.KEVs) {\n+\t\t\tnKEVCve++\n+\t\t}\n+\t}\n+\treturn fmt.Sprintf(\"%d kevs\", nKEVCve)\n+}\n+\n // FormatAlertSummary returns a summary of CERT alerts\n func (r ScanResult) FormatAlertSummary() string {\n-\tcisaCnt := 0\n \tuscertCnt := 0\n \tjpcertCnt := 0\n \tfor _, vuln := range r.ScannedCves {\n-\t\tif len(vuln.AlertDict.CISA) &gt; 0 {\n-\t\t\tcisaCnt += len(vuln.AlertDict.CISA)\n-\t\t}\n \t\tif len(vuln.AlertDict.USCERT) &gt; 0 {\n \t\t\tuscertCnt += len(vuln.AlertDict.USCERT)\n \t\t}\n@@ -267,7 +275,7 @@ func (r ScanResult) FormatAlertSummary() string {\n \t\t\tjpcertCnt += len(vuln.AlertDict.JPCERT)\n \t\t}\n \t}\n-\treturn fmt.Sprintf(\"cisa: %d, uscert: %d, jpcert: %d alerts\", cisaCnt, uscertCnt, jpcertCnt)\n+\treturn fmt.Sprintf(\"uscert: %d, jpcert: %d alerts\", uscertCnt, jpcertCnt)\n }\n \n func (r ScanResult) isDisplayUpdatableNum(mode config.ScanMode) bool {\n@@ -425,6 +433,12 @@ func (r *ScanResult) SortForJSONOutput() {\n \t\tsort.Slice(v.Mitigations, func(i, j int) bool {\n \t\t\treturn v.Mitigations[i].URL &lt; v.Mitigations[j].URL\n \t\t})\n+\t\tsort.Slice(v.KEVs, func(i, j int) bool {\n+\t\t\tif v.KEVs[i].Type != v.KEVs[j].Type {\n+\t\t\t\treturn v.KEVs[i].Type &lt; v.KEVs[j].Type\n+\t\t\t}\n+\t\t\treturn v.KEVs[i].VulnerabilityName &lt; v.KEVs[j].VulnerabilityName\n+\t\t})\n \n \t\tv.CveContents.Sort()\n \n@@ -434,9 +448,6 @@ func (r *ScanResult) SortForJSONOutput() {\n \t\tsort.Slice(v.AlertDict.JPCERT, func(i, j int) bool {\n \t\t\treturn v.AlertDict.JPCERT[i].Title &lt; v.AlertDict.JPCERT[j].Title\n \t\t})\n-\t\tsort.Slice(v.AlertDict.CISA, func(i, j int) bool {\n-\t\t\treturn v.AlertDict.CISA[i].Title &lt; v.AlertDict.CISA[j].Title\n-\t\t})\n \t\tr.ScannedCves[k] = v\n \t}\n }\ndiff --git a/models/scanresults_kev_test.go b/models/scanresults_kev_test.go\nnew file mode 100644\nindex 0000000..f88a9bc\n--- /dev/null\n+++ b/models/scanresults_kev_test.go\n@@ -0,0 +1,48 @@\n+package models\n+\n+import (\n+\t\"reflect\"\n+\t\"testing\"\n+)\n+\n+func TestScanResultSortForJSONOutputSortsKEVs(t *testing.T) {\n+\tr := &amp;ScanResult{\n+\t\tScannedCves: VulnInfos{\n+\t\t\t\"CVE-2024-0001\": {\n+\t\t\t\tKEVs: []KEV{\n+\t\t\t\t\t{Type: VulnCheckKEVType, VulnerabilityName: \"z vulncheck\"},\n+\t\t\t\t\t{Type: CISAKEVType, VulnerabilityName: \"z cisa\"},\n+\t\t\t\t\t{Type: VulnCheckKEVType, VulnerabilityName: \"a vulncheck\"},\n+\t\t\t\t\t{Type: CISAKEVType, VulnerabilityName: \"a cisa\"},\n+\t\t\t\t},\n+\t\t\t},\n+\t\t},\n+\t}\n+\n+\tr.SortForJSONOutput()\n+\n+\tgot := r.ScannedCves[\"CVE-2024-0001\"].KEVs\n+\twant := []KEV{\n+\t\t{Type: CISAKEVType, VulnerabilityName: \"a cisa\"},\n+\t\t{Type: CISAKEVType, VulnerabilityName: \"z cisa\"},\n+\t\t{Type: VulnCheckKEVType, VulnerabilityName: \"a vulncheck\"},\n+\t\t{Type: VulnCheckKEVType, VulnerabilityName: \"z vulncheck\"},\n+\t}\n+\tif !reflect.DeepEqual(got, want) {\n+\t\tt.Fatalf(\"got %+v, want %+v\", got, want)\n+\t}\n+}\n+\n+func TestFormatKEVCveSummary(t *testing.T) {\n+\tr := ScanResult{\n+\t\tScannedCves: VulnInfos{\n+\t\t\t\"CVE-2024-0001\": {KEVs: []KEV{{Type: CISAKEVType}}},\n+\t\t\t\"CVE-2024-0002\": {KEVs: []KEV{{Type: CISAKEVType}, {Type: VulnCheckKEVType}}},\n+\t\t\t\"CVE-2024-0003\": {},\n+\t\t},\n+\t}\n+\n+\tif got, want := r.FormatKEVCveSummary(), \"2 kevs\"; got != want {\n+\t\tt.Fatalf(\"got %q, want %q\", got, want)\n+\t}\n+}\ndiff --git a/models/vulninfos.go b/models/vulninfos.go\nindex 3e85e81..8f6b065 100644\n--- a/models/vulninfos.go\n+++ b/models/vulninfos.go\n@@ -263,6 +263,7 @@ type VulnInfo struct {\n \tAffectedPackages     PackageFixStatuses   `json:\"affectedPackages,omitempty\"`\n \tDistroAdvisories     DistroAdvisories     `json:\"distroAdvisories,omitempty\"` // for Amazon, RHEL, Fedora, FreeBSD, Microsoft\n \tCveContents          CveContents          `json:\"cveContents,omitempty\"`\n+\tKEVs                 []KEV                `json:\"kevs,omitempty\"`\n \tExploits             []Exploit            `json:\"exploits,omitempty\"`\n \tMetasploits          []Metasploit         `json:\"metasploits,omitempty\"`\n \tMitigations          []Mitigation         `json:\"mitigations,omitempty\"`\n@@ -277,6 +278,57 @@ type VulnInfo struct {\n \tDiffStatus           DiffStatus           `json:\"diffStatus,omitempty\"`\n }\n \n+// KEVType is a Known Exploited Vulnerability source type.\n+type KEVType string\n+\n+const (\n+\t// CISAKEVType is the CISA Known Exploited Vulnerabilities Catalog source.\n+\tCISAKEVType KEVType = \"cisa\"\n+\t// VulnCheckKEVType is the VulnCheck Known Exploited Vulnerabilities source.\n+\tVulnCheckKEVType KEVType = \"vulncheck\"\n+)\n+\n+// KEV has Known Exploited Vulnerability information.\n+type KEV struct {\n+\tType                         KEVType       `json:\"type,omitempty\"`\n+\tVendorProject                string        `json:\"vendorProject,omitempty\"`\n+\tProduct                      string        `json:\"product,omitempty\"`\n+\tVulnerabilityName            string        `json:\"vulnerabilityName,omitempty\"`\n+\tShortDescription             string        `json:\"shortDescription,omitempty\"`\n+\tRequiredAction               string        `json:\"requiredAction,omitempty\"`\n+\tKnownRansomwareCampaignUse   string        `json:\"knownRansomwareCampaignUse,omitempty\"`\n+\tDateAdded                    time.Time     `json:\"dateAdded,omitempty\"`\n+\tDueDate                      *time.Time    `json:\"dueDate,omitempty\"`\n+\tCISA                         *CISAKEV      `json:\"cisa,omitempty\"`\n+\tVulnCheck                    *VulnCheckKEV `json:\"vulncheck,omitempty\"`\n+}\n+\n+// CISAKEV has CISA-specific KEV fields.\n+type CISAKEV struct {\n+\tNote string `json:\"note,omitempty\"`\n+}\n+\n+// VulnCheckKEV has VulnCheck-specific KEV fields.\n+type VulnCheckKEV struct {\n+\tXDB                  []VulnCheckXDB                  `json:\"xdb,omitempty\"`\n+\tReportedExploitation []VulnCheckReportedExploitation `json:\"reportedExploitation,omitempty\"`\n+}\n+\n+// VulnCheckXDB has VulnCheck XDB exploit metadata.\n+type VulnCheckXDB struct {\n+\tXDBID       string    `json:\"xdbID,omitempty\"`\n+\tXDBURL      string    `json:\"xdbURL,omitempty\"`\n+\tDateAdded   time.Time `json:\"dateAdded,omitempty\"`\n+\tExploitType string    `json:\"exploitType,omitempty\"`\n+\tCloneSSHURL string    `json:\"cloneSSHURL,omitempty\"`\n+}\n+\n+// VulnCheckReportedExploitation has VulnCheck reported exploitation metadata.\n+type VulnCheckReportedExploitation struct {\n+\tURL       string    `json:\"url,omitempty\"`\n+\tDateAdded time.Time `json:\"dateAdded,omitempty\"`\n+}\n+\n // Alert has CERT alert information\n type Alert struct {\n \tURL   string `json:\"url,omitempty\"`\n@@ -910,24 +962,21 @@ type Mitigation struct {\n \tURL            string         `json:\"url,omitempty\"`\n }\n \n-// AlertDict has target cve JPCERT, USCERT and CISA alert data\n+// AlertDict has target cve JPCERT and USCERT alert data.\n type AlertDict struct {\n-\tCISA   []Alert `json:\"cisa\"`\n+\tCISA   []Alert `json:\"cisa\"` // Deprecated: KEV is stored in VulnInfo.KEVs.\n \tJPCERT []Alert `json:\"jpcert\"`\n \tUSCERT []Alert `json:\"uscert\"`\n }\n \n // IsEmpty checks if the content of AlertDict is empty\n func (a AlertDict) IsEmpty() bool {\n-\treturn len(a.CISA) == 0 &amp;&amp; len(a.JPCERT) == 0 &amp;&amp; len(a.USCERT) == 0\n+\treturn len(a.JPCERT) == 0 &amp;&amp; len(a.USCERT) == 0\n }\n \n // FormatSource returns which source has this alert\n func (a AlertDict) FormatSource() string {\n \tvar s []string\n-\tif len(a.CISA) != 0 {\n-\t\ts = append(s, \"CISA\")\n-\t}\n \tif len(a.USCERT) != 0 || len(a.JPCERT) != 0 {\n \t\ts = append(s, \"CERT\")\n \t}\ndiff --git a/reporter/util.go b/reporter/util.go\nindex d9cfdaa..a2dfbd0 100644\n--- a/reporter/util.go\n+++ b/reporter/util.go\n@@ -204,6 +204,7 @@ func formatOneLineSummary(rs ...models.ScanResult) string {\n \t\t\t\tr.FormatUpdatablePkgsSummary(),\n \t\t\t\tr.FormatExploitCveSummary(),\n \t\t\t\tr.FormatMetasploitCveSummary(),\n+\t\t\t\tr.FormatKEVCveSummary(),\n \t\t\t\tr.FormatAlertSummary(),\n \t\t\t}\n \t\t} else {\n@@ -565,10 +566,6 @@ No CVE-IDs are found in updatable packages.\n \t\t})\n \t\tdata = append(data, ds...)\n \n-\t\tfor _, alert := range vuln.AlertDict.CISA {\n-\t\t\tdata = append(data, []string{\"CISA Alert\", alert.URL})\n-\t\t}\n-\n \t\tfor _, alert := range vuln.AlertDict.JPCERT {\n \t\t\tdata = append(data, []string{\"JPCERT Alert\", alert.URL})\n \t\t}\ndiff --git a/tui/tui.go b/tui/tui.go\nindex 4407f56..80afe95 100644\n--- a/tui/tui.go\n+++ b/tui/tui.go\n@@ -812,16 +812,6 @@ func setChangelogLayout(g *gocui.Gui) error {\n \t\t\t}\n \t\t}\n \n-\t\tif len(vinfo.AlertDict.CISA) &gt; 0 {\n-\t\t\tlines = append(lines, \"\\n\",\n-\t\t\t\t\"CISA Alert\",\n-\t\t\t\t\"===========\",\n-\t\t\t)\n-\t\t\tfor _, alert := range vinfo.AlertDict.CISA {\n-\t\t\t\tlines = append(lines, fmt.Sprintf(\"* [%s](%s)\", alert.Title, alert.URL))\n-\t\t\t}\n-\t\t}\n-\n \t\tif len(vinfo.AlertDict.USCERT) &gt; 0 {\n \t\t\tlines = append(lines, \"\\n\",\n \t\t\t\t\"USCERT Alert\",\n", "creation_timestamp": "2026-07-03T18:57:42.898937Z"}