Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 60 additions & 1 deletion docs/api/cve.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,14 @@ HTTP/1.1 200 OK

Get the details of a specific CVE.

**Parameters:**

- `include` (optional): include additional fields in the response (use `nvd_cpe_configurations` to retrieve NVD CPE configurations).

**Example request:**

```
GET /api/cve/CVE-2024-31880 HTTP/1.1
GET /api/cve/CVE-2024-31880?include=nvd_cpe_configurations HTTP/1.1
Host: app.opencve.io
Accept: application/json
```
Expand Down Expand Up @@ -122,6 +126,61 @@ HTTP/1.1 200 OK
"microsoft$PRODUCT$windows",
"opengroup",
"opengroup$PRODUCT$unix"
],
"nvd_cpe_configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:ibm:db2:*:*:*:*:*:*:*:*",
"matchCriteriaId": "72264C00-9FD5-44EF-AE33-36819E253233",
"versionEndIncluding": "10.5.11",
"versionStartIncluding": "10.5.0.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:ibm:db2:*:*:*:*:*:*:*:*",
"matchCriteriaId": "2E7ABF45-1720-49F0-AA78-E4C06815F3C5",
"versionEndIncluding": "11.1.4.7",
"versionStartIncluding": "11.1.4",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:ibm:db2:*:*:*:*:*:-:*:*",
"matchCriteriaId": "46EEFD88-1F1D-417F-815A-98A456DE8515",
"versionEndIncluding": "11.5.9",
"versionStartIncluding": "11.5",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
},
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*",
"matchCriteriaId": "703AF700-7A70-47E2-BC3A-7FD03B3CA9C1",
"vulnerable": false
},
{
"criteria": "cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*",
"matchCriteriaId": "A2572D17-1DE6-457B-99CC-64AFD54487EA",
"vulnerable": false
},
{
"criteria": "cpe:2.3:o:opengroup:unix:-:*:*:*:*:*:*:*",
"matchCriteriaId": "6A90CB3A-9BE7-475C-9E75-6ECAD2106302",
"vulnerable": false
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "AND"
}
]
}
```
Loading