owasp-dep-scan / dep-scan

OWASP dep-scan is a next-generation security and risk audit tool based on known vulnerabilities, advisories, and license limitations for project dependencies. Both local repositories and container images are supported as the input, and the tool is ideal for integration.
https://owasp.org/www-project-dep-scan/
MIT License
946 stars 94 forks source link

Tool should recommend the start year based on the oldest vulnerability #7

Open prabhu opened 4 years ago

prabhu commented 4 years ago

Currently, NVD_START_YEAR is configurable with a default value of 2018. The tool should recommend a start year based on the oldest CVE found. If a CVE belonging to the year 2018 is found then the scan should recommend a re-scan with start year of 2017 (Previous year)

This can be implemented in the analysis module.

Docs should be updated based on the recommendation.

timmyteo commented 8 months ago

@prabhu Is this feature still desired? I am looking at how to implement this and here are my thoughts:

Please provide any feedback regarding this overall approach if this feature is still desired. Also, what would you want to see updated in the docs for this?

prabhu commented 8 months ago

@timmyteo, Thank you for looking into this. It is a very clever idea to use the CVE ID to infer the year, which could usually be enough—I'm looking forward to seeing this feature!