The commit that fixed the vulnerability should also be included in the information provided. Anything that can lead to a diff is valuable. This includes links to commits, pull requests and issues.
As suggested by @pombredanne we can use the specification described here, which supports referencing locations in Git, Mercurial, Subversion and Bazaar. A new field named vcs_url can be included for each vulnerability.
The following are some example of links found on NVD, usually reported with the Patch tag:
Commits
Lead to diff
Pull Requests
Lead to Merge Commit --> diff
Issues
Lead to PR --> Merge Commit --> diff
Others
Extracting diff if present
Sources of commit links
The commit that fixed the vulnerability should also be included in the information provided. Anything that can lead to a diff is valuable. This includes links to commits, pull requests and issues.
As suggested by @pombredanne we can use the specification described here, which supports referencing locations in Git, Mercurial, Subversion and Bazaar. A new field named
vcs_urlcan be included for each vulnerability.The following are some example of links found on NVD, usually reported with the Patch tag:
Commits
Lead to diff
Pull Requests
Lead to Merge Commit --> diff
Issues
Lead to PR --> Merge Commit --> diff
Others
Extracting diff if present
Sources of commit links