vulnerablecode
vulnerablecode copied to clipboard
Add support for CWE
Reference: https://github.com/nexB/vulnerablecode/issues/651 Signed-off-by: Ziad [email protected]
This would need to be rebased... also you may want to remove the UI part to treat it separately as the UI has changed extensively! Also could we also get the CWE from the NVD importer? or is this something for later?
ok, no problem I will change this, but what about editing all importers not just NVD, I think I could handle this in a separate pull request.
1. the CWE library maintainer has not much replied to data, so if we need this we would have to fok it
oops, yes we can fork it. it isn't a complicated library, all data come from this database, we need to make sure the database is updated so I think we should use this link https://cwe.mitre.org/data/downloads.html as our database.
2. is there something else beyond CWE that would be about a more general concept of categories?
I don't know but the main three categories are
- Software Development
- Hardware Design
- Research Concepts
some External Mappings :
- CWE Top 25 (2022)
- OWASP Top Ten (2021)
- Software Fault Pattern Clusters
@ziadhany the cwe2 library is ready now: https://pypi.org/project/cwe2/
@ziadhany Could you rebase or merge on the latest main branch?