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 support for CWE #651

Closed
pombredanne opened this issue Mar 24, 2022 · 4 comments
Closed

Add support for CWE #651

pombredanne opened this issue Mar 24, 2022 · 4 comments

Comments

@pombredanne
Copy link
Collaborator

We decided early to keep the data set we track as minimal... but adding CWE would be a great addition. This can be a fairly involved issue since many importers may need to be updated.

@ziadhany
Copy link
Collaborator

Can we use a library like this https://github.com/Julian-Nash/cwe to get a CWE by ID and add another JSON field in the model?

@Hritik14
Copy link
Collaborator

Hritik14 commented Apr 27, 2022

CWE could be used for categorization of vulnerabilities. Later on, we might be able to find a mapping between OWSAP top 10 -> CWE, this can be used to prioritize vulnerabilities for the downstream.

To implement CWE (categorization) support a system similar to currently implemented ScoringSystem could be used.

See:

(via: https://github.com/nexB/vulnerablecode/wiki/WeeklyMeetings#meeting-on-tuesday-2022-04-26-at-1000-utc)

@ziadhany
Copy link
Collaborator

I think we have a compressed CSV file containing the fields of the desired Weaknesses related to CWE VIEW: Software Development.
https://cwe.mitre.org/data/definitions/699.html

https://cwe.mitre.org/data/csv/699.csv.zip

ziadhany added a commit to ziadhany/vulnerablecode that referenced this issue Jun 24, 2022
Reference: aboutcode-org#651
Signed-off-by: Ziad <ziadhany2016@gmail.com>
@TG1999 TG1999 added this to the v34.0.0 milestone Jan 13, 2023
@pombredanne
Copy link
Collaborator Author

The main #782 is now merged
These are is a follow up!

Closing now. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants