v1

latestOpenAPI 3.0.1Apache 2.02026-07-17111176225.7 KB
Query

Listing information about given vulnerability

List (w/filters) vulnerability records known by the system, with affected packages information if present

get/query/vulnerabilities

Query parameters

idstring[] required

The ID of the vulnerability (e.g. CVE-1999-0001)

affected_packagestring

Filter results by specified package name (e.g. sed)

affected_package_versionstring

Filter results by specified package version (e.g. 4.4-1)

pagestring

The page of results to fetch. Pages start at 1

limitinteger

Limit the number of records for the requested page. If omitted or set to 0, return all results in a single page

namespacestring[]

Namespace(s) to filter vulnerability records by

Response

Vulnerability listing paginated

pagestring

The page number returned (should match the requested page query string param)

next_pagestring

True if additional pages exist (page + 1) or False if this is the last page

returned_countinteger

The number of items sent in this response

Example response

{
  "vulnerabilities": [
    {
      "nvd_data": [
        {
          "cvss_v3": {
            "base_score": 5.962133916683182,
            "impact_score": 2.3021358869347655,
            "exploitability_score": 5.637376656633329
          },
          "cvss_v2": {
            "base_score": 0.8008281904610115,
            "impact_score": 1.4658129805029452,
            "exploitability_score": 6.027456183070403
          },
          "id": "id"
        }
      ],
      "vendor_data": [
        {
          "cvss_v3": {
            "base_score": 5.962133916683182,
            "impact_score": 2.3021358869347655,
            "exploitability_score": 5.637376656633329
          },
          "cvss_v2": {
            "base_score": 0.8008281904610115,
            "impact_score": 1.4658129805029452,
            "exploitability_score": 6.027456183070403
          },
          "id": "id"
        }
      ]
    }
  ]
}