crocs-muni / sec-certs

Tool for analysis of security certificates and their security targets (Common Criteria, NIST FIPS140-2...).
https://sec-certs.org
MIT License
12 stars 8 forks source link

CVE classifier: search for matches in `AND`ed vulnerable configurations #252

Closed adamjanovsky closed 1 year ago

adamjanovsky commented 2 years ago

Some of the CVEs contain vulnerable configurations that are specified as follows:

An example of such vuln. is: https://nvd.nist.gov/vuln/detail/CVE-2010-2325

We currently ignore the AND branch, see #251, losing approx. 1k unique CVEs. Some of these could be matched.

Our CPE classifier is matching CPEs one by one. This means that no additional CPE matching is required, it merely suffices to enforce AND condition (i.e., search for both children in CPE matches) before declaring a CVE match.