Skip to content

cve list by API #530

@grooverdan

Description

@grooverdan

NIST has a couple of APIs that can be use to fetch CVE information for a product, and then information from the CVE.

The CPE (product) API is described https://csrc.nist.gov/CSRC/media/Projects/National-Vulnerability-Database/documents/web%20service%20documentation/Automation%20Support%20for%20CPE%20Retrieval.pdf

An example request would be:

These should be easy enough to match to a product.

CVE look up is https://csrc.nist.gov/CSRC/media/Projects/National-Vulnerability-Database/documents/web%20service%20documentation/Automation%20Support%20for%20CVE%20Retrieval.pdf

CVE rest lookup example:

https://services.nvd.nist.gov/rest/json/cve/1.0/CVE-2021-2056

With this information:

  • is doing an online lookup acceptable?
  • do you want to use this to populate the vulnerabilities.csv? (or could this interface be deprecated)
  • what would you like the report format to look like?

Which perl modules for web fetching and JSON are acceptable to add as a dependency (can make them optional of course)?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions