Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cwe-id filter + Refactor #53

Merged
merged 6 commits into from
Jan 31, 2024
Merged

Add cwe-id filter + Refactor #53

merged 6 commits into from
Jan 31, 2024

Conversation

RamanaReddy0M
Copy link
Contributor

@RamanaReddy0M RamanaReddy0M commented Jan 25, 2024

closes

 ✗ 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  │
╰────────────────┴──────┴──────────┴─────────┴────────────────┴─────┴──────────┴─────────╯

@RamanaReddy0M RamanaReddy0M linked an issue Jan 25, 2024 that may be closed by this pull request
@RamanaReddy0M RamanaReddy0M marked this pull request as draft January 25, 2024 16:04
@RamanaReddy0M RamanaReddy0M changed the title Add cwe-id filter Add cwe-id filter + Refactor Jan 25, 2024
@RamanaReddy0M
Copy link
Contributor Author

Note: #52 is also covered in this pr.

@RamanaReddy0M RamanaReddy0M linked an issue Jan 25, 2024 that may be closed by this pull request
@RamanaReddy0M RamanaReddy0M marked this pull request as ready for review January 25, 2024 17:38
Copy link
Member

@tarunKoyalwar tarunKoyalwar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm !

  • updated logic to reuse existing components like utils/env projectdiscovery/retryablehttp-go etc and other misc changes

@ehsandeep ehsandeep merged commit 2775c58 into main Jan 31, 2024
6 checks passed
@ehsandeep ehsandeep deleted the issue-48-cwe-id-filter branch January 31, 2024 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle lowercase input for -id Add CLI option to filter CWE IDs
3 participants