cvemap
cvemap copied to clipboard
Add `cwe-id` filter + Refactor
closes
- #48
- #54
- Added
debugoption
✗ go run . -f cwe -cwe-id cwe-306,cwe-77 -l 5 -silent
╭────────────────┬──────┬──────────┬─────────┬────────────────┬─────┬──────────┬─────────╮
│ ID │ CVSS │ SEVERITY │ EPSS │ PRODUCT │ AGE │ TEMPLATE │ CWE │
├────────────────┼──────┼──────────┼─────────┼────────────────┼─────┼──────────┼─────────┤
│ CVE-2024-22212 │ 9.6 │ CRITICAL │ 0.00045 │ │ 6 │ ❌ │ CWE-306 │
│ CVE-2024-22198 │ 8.8 │ HIGH │ 0.00421 │ nginx_ui │ 13 │ ❌ │ CWE-77 │
│ CVE-2024-22197 │ 8.8 │ HIGH │ 0.0011 │ nginx_ui │ 13 │ ❌ │ CWE-77 │
│ CVE-2024-21887 │ 9.1 │ CRITICAL │ 0.96416 │ connect_secure │ 12 │ ✅ │ CWE-77 │
│ CVE-2024-21663 │ 8.8 │ HIGH │ 0.00206 │ discord-recon │ 16 │ ❌ │ CWE-77 │
╰────────────────┴──────┴──────────┴─────────┴────────────────┴─────┴──────────┴─────────╯
Note: https://github.com/projectdiscovery/cvemap/pull/52 is also covered in this pr.