cveGPT

cveGPT · Actions GPT

NVD CVE Services

Access CVE details from the National Vulnerability Database (NVD).

  • GET /Retrieve CVE details by ID.
Schéma original API
{
  "openapi": "3.1.0",
  "info": {
    "title": "NVD CVE Services",
    "description": "Access CVE details from the National Vulnerability Database (NVD).",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://services.nvd.nist.gov/rest/json/cves/2.0/",
      "description": "NVD CVE Services API"
    }
  ],
  "paths": {
    "/": {
      "get": {
        "operationId": "getCVEById",
        "summary": "Retrieve CVE details by ID.",
        "parameters": [
          {
            "name": "cveid",
            "in": "query",
            "description": "CVE ID to fetch details for, e.g., CVE-2023-4030",
            "required": false,
            "schema": {
              "type": "string",
              "example": "CVE-2023-4030"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with CVE details",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CVEResponse"
                }
              }
            }
          },
          "404": {
            "description": "CVE not found"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "CVEResponse": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object"
          }
        }
      }
    }
  }
}

FIRST EPSS API

API to retrieve Exploit Prediction Scoring System (EPSS) data for a specific CVE identifier.

  • GET /data/v1/epssRetrieve EPSS data for a specific CVE.

    Retrieves Exploit Prediction Scoring System (EPSS) data for the given CVE identifier.

Schéma original API
{
  "openapi": "3.1.0",
  "info": {
    "title": "FIRST EPSS API",
    "description": "API to retrieve Exploit Prediction Scoring System (EPSS) data for a specific CVE identifier.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.first.org",
      "description": "Main (production) server"
    }
  ],
  "paths": {
    "/data/v1/epss": {
      "get": {
        "operationId": "getEpssData",
        "summary": "Retrieve EPSS data for a specific CVE.",
        "description": "Retrieves Exploit Prediction Scoring System (EPSS) data for the given CVE identifier.",
        "parameters": [
          {
            "name": "cve",
            "in": "query",
            "required": true,
            "description": "The CVE identifier for which to retrieve EPSS data. It should follow the format CVE-YYYY-NNNNN.",
            "schema": {
              "type": "string",
              "example": "CVE-2022-27225"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response containing EPSS data.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "cve": {
                          "type": "string",
                          "description": "The CVE identifier.",
                          "example": "CVE-2022-27225"
                        },
                        "epss": {
                          "type": "number",
                          "format": "float",
                          "description": "The EPSS score.",
                          "example": 0.7
                        },
                        "percentile": {
                          "type": "number",
                          "format": "float",
                          "description": "The percentile ranking.",
                          "example": 85.3
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request. The request could not be understood or was missing required parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "description": "Error message detailing why the request was bad.",
                      "example": "Invalid CVE format"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found. No data available for the given CVE.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "description": "Error message detailing why the data could not be found.",
                      "example": "CVE not found"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal server error. Something went wrong on the server.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "description": "Error message detailing what went wrong.",
                      "example": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}