1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
{
"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"
}
}
}
}
}
}