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