com.nahdig.cve.nvdV2

An NVD CVE API v2.0 CVE object, stored under the CVE identifier as the record key.

Repository @nahdig.com did:plc:zmuf6p7ahfh4ly4wp4bx57hx namespace authority
Details · record, key any
Kindrecord
Record keyany
Authoritycve.nahdig.com
Commit rev3n22vbq7dsg2z
Indexed
cid bafyreibya4iv52iwviedrajyu2l6ulckom2wrvfhkwriakjsds6f7skmom

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "configuration": {
      "description": "A CPE configuration. NVD alternates between nodes and children, both of which pass through.",
      "properties": {
        "negate": {
          "type": "boolean"
        },
        "nodes": {
          "items": {
            "ref": "#node",
            "type": "ref"
          },
          "type": "array"
        },
        "operator": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "cpeMatch": {
      "description": "A CPE match entry.",
      "properties": {
        "criteria": {
          "type": "string"
        },
        "matchCriteriaId": {
          "type": "string"
        },
        "versionEndExcluding": {
          "type": "string"
        },
        "versionEndIncluding": {
          "type": "string"
        },
        "versionStartExcluding": {
          "type": "string"
        },
        "versionStartIncluding": {
          "type": "string"
        },
        "vulnerable": {
          "type": "boolean"
        }
      },
      "required": [
        "vulnerable",
        "criteria"
      ],
      "type": "object"
    },
    "cveTag": {
      "description": "A CVE tag group from a source.",
      "properties": {
        "sourceIdentifier": {
          "type": "string"
        },
        "tags": {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "cvssData": {
      "description": "CVSS scoring data. Score fields are decimal strings because atproto has no float type.",
      "properties": {
        "accessComplexity": {
          "type": "string"
        },
        "accessVector": {
          "type": "string"
        },
        "attackComplexity": {
          "type": "string"
        },
        "attackVector": {
          "type": "string"
        },
        "authentication": {
          "type": "string"
        },
        "availabilityImpact": {
          "type": "string"
        },
        "baseScore": {
          "description": "CVSS base score. NVD emits a JSON float; atproto has no float type, so ingestion must encode the decimal as a string.",
          "type": "string"
        },
        "baseSeverity": {
          "type": "string"
        },
        "confidentialityImpact": {
          "type": "string"
        },
        "integrityImpact": {
          "type": "string"
        },
        "privilegesRequired": {
          "type": "string"
        },
        "scope": {
          "type": "string"
        },
        "userInteraction": {
          "type": "string"
        },
        "vectorString": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "cvssMetric": {
      "description": "A single CVSS metric entry.",
      "properties": {
        "acInsufInfo": {
          "type": "boolean"
        },
        "baseSeverity": {
          "type": "string"
        },
        "cvssData": {
          "ref": "#cvssData",
          "type": "ref"
        },
        "exploitabilityScore": {
          "description": "CVSS exploitability score. NVD emits a JSON float; atproto has no float type, so ingestion must encode the decimal as a string.",
          "type": "string"
        },
        "impactScore": {
          "description": "CVSS impact score. NVD emits a JSON float; atproto has no float type, so ingestion must encode the decimal as a string.",
          "type": "string"
        },
        "obtainAllPrivilege": {
          "type": "boolean"
        },
        "obtainOtherPrivilege": {
          "type": "boolean"
        },
        "obtainUserPrivilege": {
          "type": "boolean"
        },
        "source": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "userInteractionRequired": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "langString": {
      "description": "A localized string value.",
      "properties": {
        "lang": {
          "description": "Language code for the value.",
          "type": "string"
        },
        "value": {
          "description": "Text value.",
          "type": "string"
        }
      },
      "required": [
        "lang",
        "value"
      ],
      "type": "object"
    },
    "main": {
      "description": "An NVD CVE API v2.0 CVE object, stored under the CVE identifier as the record key.",
      "key": "any",
      "record": {
        "properties": {
          "configurations": {
            "description": "CPE applicability configurations.",
            "items": {
              "ref": "#configuration",
              "type": "ref"
            },
            "type": "array"
          },
          "createdAt": {
            "description": "Timestamp when this record was created.",
            "format": "datetime",
            "type": "string"
          },
          "cveTags": {
            "description": "NVD CVE tags.",
            "items": {
              "ref": "#cveTag",
              "type": "ref"
            },
            "type": "array"
          },
          "dataBlob": {
            "accept": [
              "application/gzip"
            ],
            "description": "Gzipped full CVE JSON for oversized records. The record is an index card; all CVE fields live in this blob.",
            "maxSize": 5242880,
            "type": "blob"
          },
          "dataBytes": {
            "description": "Uncompressed size of the canonical JSON in dataBlob.",
            "type": "integer"
          },
          "dataEncoding": {
            "description": "Encoding of dataBlob; currently gzip.",
            "type": "string"
          },
          "dataSha256": {
            "description": "SHA-256 of the uncompressed canonical JSON in dataBlob.",
            "type": "string"
          },
          "descriptions": {
            "description": "Localized CVE descriptions.",
            "items": {
              "ref": "#langString",
              "type": "ref"
            },
            "type": "array"
          },
          "evaluatorComment": {
            "description": "NVD evaluator comment, when present.",
            "type": "string"
          },
          "evaluatorImpact": {
            "description": "NVD evaluator impact statement, when present.",
            "type": "string"
          },
          "evaluatorSolution": {
            "description": "NVD evaluator solution, when present.",
            "type": "string"
          },
          "id": {
            "description": "CVE identifier, for example CVE-2024-3094.",
            "type": "string"
          },
          "lastModified": {
            "description": "NVD last-modified timestamp. NVD may omit the timezone, so normalize to UTC before writing.",
            "format": "datetime",
            "type": "string"
          },
          "metrics": {
            "description": "CVSS and other NVD metrics.",
            "ref": "#metrics",
            "type": "ref"
          },
          "published": {
            "description": "NVD publication timestamp. NVD may omit the timezone, so normalize to UTC before writing.",
            "format": "datetime",
            "type": "string"
          },
          "references": {
            "description": "External references for the CVE.",
            "items": {
              "ref": "#reference",
              "type": "ref"
            },
            "type": "array"
          },
          "sourceIdentifier": {
            "description": "NVD source identifier for the CVE.",
            "type": "string"
          },
          "vulnStatus": {
            "description": "NVD vulnerability status.",
            "type": "string"
          },
          "weaknesses": {
            "description": "CWE weakness entries.",
            "items": {
              "ref": "#weakness",
              "type": "ref"
            },
            "type": "array"
          }
        },
        "required": [
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "metrics": {
      "description": "NVD metrics grouped by CVSS version. Other metric groups pass through unmodified.",
      "properties": {
        "cvssMetricV2": {
          "items": {
            "ref": "#cvssMetric",
            "type": "ref"
          },
          "type": "array"
        },
        "cvssMetricV30": {
          "items": {
            "ref": "#cvssMetric",
            "type": "ref"
          },
          "type": "array"
        },
        "cvssMetricV31": {
          "items": {
            "ref": "#cvssMetric",
            "type": "ref"
          },
          "type": "array"
        },
        "cvssMetricV40": {
          "items": {
            "ref": "#cvssMetric",
            "type": "ref"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "node": {
      "description": "A configuration node. Nodes may contain cpeMatch entries or children nodes.",
      "properties": {
        "cpeMatch": {
          "items": {
            "ref": "#cpeMatch",
            "type": "ref"
          },
          "type": "array"
        },
        "negate": {
          "type": "boolean"
        },
        "operator": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "reference": {
      "description": "An external CVE reference.",
      "properties": {
        "source": {
          "type": "string"
        },
        "tags": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "url": {
          "type": "string"
        }
      },
      "required": [
        "url"
      ],
      "type": "object"
    },
    "weakness": {
      "description": "A weakness entry from a source.",
      "properties": {
        "description": {
          "items": {
            "ref": "#langString",
            "type": "ref"
          },
          "type": "array"
        },
        "source": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "description": "An NVD CVE API v2.0 CVE object. Record key is the CVE identifier.",
  "id": "com.nahdig.cve.nvdV2",
  "lexicon": 1
}