nist-nvd는 2026년 11월 16일부터 사용 중단(deprecated)되었으며 2027년 5월 15일에 비활성화됩니다. 그 전에 nist-nvd2로 이전하세요.nist-nvd는 NVD 데이터를 NVD 1.0 JSON 스키마로 제공합니다. nist-nvd2는 같은 데이터를 NVD 2.0 스키마로 제공합니다. 이번 이전은 URL 변경이 아니라 스키마 마이그레이션입니다. 요청에서는 인덱스 이름만 바꾸면 되지만, 응답을 읽는 코드는 변경해야 합니다.
nist-nvd는 항상 nist-nvd2의 NVD 2.0 데이터를 1.0 형식으로 변환하여 생성되었습니다. nist-nvd2로 이전하면 변환 과정에서 누락되는 것 없이 원본 데이터를 받을 수 있습니다.
vulncheck-nvd를 사용 중이라면 vulncheck-nvd에서 vulncheck-nvd2로 마이그레이션을 참고하세요.
| 날짜 | 변경 사항 |
|---|---|
| 2026년 11월 16일 | nist-nvd가 사용 중단됩니다. 계속 정상적으로 작동하며, 모든 응답에 Deprecation 및 Sunset 헤더가 포함됩니다. |
| 2027년 5월 15일 | nist-nvd가 비활성화됩니다. /v3/index/nist-nvd 및 /v3/backup/nist-nvd에 대한 요청이 더 이상 작동하지 않습니다. |
연동 시스템에서 다음 헤더를 확인할 수 있습니다.
Deprecation: @1794787200
Sunset: Sat, 15 May 2027 00:00:00 GMT
Link: <https://docs.vulncheck.com/community/nist-nvd/migrate-to-nvd2>; rel="deprecation"; type="text/html"
| 현재 사용 중 | 이전 대상 | 참고 |
|---|---|---|
/v3/index/nist-nvd | /v3/index/nist-nvd2 | 접근 권한이 같으며 Community에서도 사용할 수 있습니다. 쿼리 매개변수도 같습니다. |
/v3/backup/nist-nvd | /v3/backup/nist-nvd2 | 파일 구성이 다릅니다. 백업을 참고하세요. |
| 자체 NVD 2.0 API 클라이언트 | /rest/json/cves/2.0 | 코드가 이미 NIST의 NVD API 2.0을 읽는 경우 이 경로를 사용하세요. NVD API Compatibility를 참고하세요. |
Exploit & Vulnerability Intelligence 라이선스 구독자는 vulncheck-nvd2도 사용할 수 있습니다. 같은 2.0 스키마에 VulnCheck 확장 필드와 더 빨리 제공되는 데이터가 포함됩니다.
_meta 및 data), page·limit·cursor를 사용한 페이징, 오류.cve, pubStartDate, pubEndDate, lastModStartDate, lastModEndDate, sort 등은 두 인덱스에서 같은 값을 받고 같은 레코드를 반환합니다.vcConfigurations 및 vcVulnerableCPEs. vcVulnerableCPEs는 동일합니다. vcConfigurations는 각 스키마의 configurations와 같은 형식을 따릅니다. CPE 스키마를 참고하세요._timestamp.인덱스 이름만 바뀝니다.
curl --request GET \
--url 'https://api.vulncheck.com/v3/index/nist-nvd?cve=CVE-2024-3400' \
--header 'Authorization: Bearer insert_token_here'
curl --request GET \
--url 'https://api.vulncheck.com/v3/index/nist-nvd2?cve=CVE-2024-3400' \
--header 'Authorization: Bearer insert_token_here'
vulncheck index list nist-nvd2 --cve CVE-2024-3400
1.0 레코드는 데이터를 cve, impact, configurations 객체 아래에 중첩합니다. 2.0 레코드는 평평한(flat) 구조이며, 대부분의 목록에는 각 값을 제공한 source가 포함됩니다.
두 스키마로 본 같은 CVE(일부 생략):
{
"cve": {
"CVE_data_meta": { "ID": "CVE-2024-3400", "ASSIGNER": "psirt@paloaltonetworks.com" },
"problemtype": {
"problemtype_data": [{ "description": [{ "lang": "en", "value": "CWE-77" }] }]
},
"references": {
"reference_data": [{
"url": "https://security.paloaltonetworks.com/CVE-2024-3400",
"name": "https://security.paloaltonetworks.com/CVE-2024-3400",
"refsource": "MISC",
"tags": ["Vendor Advisory"]
}]
},
"description": {
"description_data": [{ "lang": "en", "value": "A command injection ..." }]
}
},
"impact": {
"baseMetricV3": {
"cvssV3": { "version": "3.1", "baseScore": 10, "baseSeverity": "CRITICAL" },
"exploitabilityScore": 3.9,
"impactScore": 6
}
},
"configurations": {
"CVE_data_version": "4.0",
"nodes": [{
"operator": "OR",
"cpe_match": [{
"vulnerable": true,
"cpe23Uri": "cpe:2.3:o:paloaltonetworks:pan-os:10.2.0:-:*:*:*:*:*:*",
"cpe_name": [{ "cpe23Uri": "cpe:2.3:o:paloaltonetworks:pan-os:10.2.0:-:*:*:*:*:*:*" }]
}]
}]
},
"publishedDate": "2024-04-12T08:15Z",
"lastModifiedDate": "2026-06-17T07:44Z"
}
{
"id": "CVE-2024-3400",
"sourceIdentifier": "psirt@paloaltonetworks.com",
"vulnStatus": "Analyzed",
"published": "2024-04-12T08:15:06.230",
"lastModified": "2026-06-17T07:44:11.533",
"cisaExploitAdd": "2024-04-12",
"cisaActionDue": "2024-04-19",
"descriptions": [{ "lang": "en", "value": "A command injection ..." }],
"weaknesses": [
{ "source": "psirt@paloaltonetworks.com", "type": "Secondary",
"description": [{ "lang": "en", "value": "CWE-20" }, { "lang": "en", "value": "CWE-77" }] },
{ "source": "nvd@nist.gov", "type": "Primary",
"description": [{ "lang": "en", "value": "CWE-77" }] }
],
"references": [{
"url": "https://security.paloaltonetworks.com/CVE-2024-3400",
"source": "psirt@paloaltonetworks.com",
"tags": ["Vendor Advisory"]
}],
"metrics": {
"cvssMetricV31": [
{ "source": "psirt@paloaltonetworks.com", "type": "Secondary",
"cvssData": { "version": "3.1", "baseScore": 10, "baseSeverity": "CRITICAL" } },
{ "source": "nvd@nist.gov", "type": "Primary",
"cvssData": { "version": "3.1", "baseScore": 10, "baseSeverity": "CRITICAL" },
"exploitabilityScore": 3.9, "impactScore": 6 }
]
},
"configurations": [{
"nodes": [{
"operator": "OR",
"cpeMatch": [{
"vulnerable": true,
"criteria": "cpe:2.3:o:paloaltonetworks:pan-os:10.2.0:-:*:*:*:*:*:*",
"matchCriteriaId": "F54B40AC-A555-4447-B147-576D17CAB12A"
}]
}]
}]
}
| nist-nvd (1.0) | nist-nvd2 (2.0) |
|---|---|
cve.CVE_data_meta.ID | id |
cve.CVE_data_meta.ASSIGNER | sourceIdentifier |
cve.data_type, cve.data_format, cve.data_version | 삭제되었습니다. 상수였습니다. |
cve.description.description_data[] | descriptions[] |
cve.problemtype.problemtype_data[].description[].value | weaknesses[].description[].value |
cve.references.reference_data[].url | references[].url |
cve.references.reference_data[].tags | references[].tags |
cve.references.reference_data[].name, .refsource | 삭제되었습니다. references[].source를 사용하세요. |
impact.baseMetricV3.cvssV3 | metrics.cvssMetricV31[].cvssData 또는 metrics.cvssMetricV30[].cvssData |
impact.baseMetricV3.exploitabilityScore, .impactScore | metrics.cvssMetricV31[].exploitabilityScore, .impactScore(또는 cvssMetricV30) |
impact.baseMetricV2.cvssV2 | metrics.cvssMetricV2[].cvssData |
impact.baseMetricV2.severity | metrics.cvssMetricV2[].baseSeverity |
impact.baseMetricV2.acInsufInfo, obtainAllPrivilege, obtainUserPrivilege, obtainOtherPrivilege, userInteractionRequired | metrics.cvssMetricV2[]의 같은 이름 필드 |
impact.metricV40 | metrics.cvssMetricV40[].cvssData |
impact.ssvc[] | metrics.ssvcV203[] |
configurations.nodes[] | configurations[].nodes[] |
configurations.nodes[].children[] | configurations[].nodes[](configurations[].operator로 결합) |
…cpe_match[].cpe23Uri | …cpeMatch[].criteria |
…cpe_match[].vulnerable, versionStartIncluding, versionStartExcluding, versionEndIncluding, versionEndExcluding | …cpeMatch[]의 같은 이름 필드 |
…cpe_match[].cpe_name[] | 삭제되었습니다. CPE 매칭을 참고하세요. |
vcConfigurations(객체) | vcConfigurations(배열, configurations와 같은 형식) |
vcVulnerableCPEs | vcVulnerableCPEs(변경 없음) |
publishedDate | published |
lastModifiedDate | lastModified |
| — | 신규: vulnStatus, cisaExploitAdd, cisaActionDue, cisaRequiredAction, cisaVulnerabilityName, cveTags, evaluatorComment, evaluatorSolution, evaluatorImpact, vendorComments, affected, vcConfigurationsWithPlatforms |
대부분의 작업은 여기에 있습니다. nist-nvd는 2.0 데이터를 1.0 스키마에 맞게 단순화했지만, nist-nvd2는 전체 정보를 제공합니다.
1.0에서는 impact.baseMetricV3에 점수가 하나만 있습니다. 2.0에서는 각 CVSS 버전이 목록이며, 출처마다 항목이 하나씩 있습니다. 각 항목에는 nvd@nist.gov 또는 CNA의 식별자와 같은 source, 그리고 type이 있습니다. type은 NVD 자체 점수이면 Primary, 그 외에는 Secondary입니다.
2.0에서는 CVSS 3.0과 3.1이 별도의 목록(cvssMetricV30 및 cvssMetricV31)입니다. 1.0에서는 둘 다 baseMetricV3를 공유했기 때문에 cvssV3.version을 읽어야 구분할 수 있었습니다.
nist-nvd는 다음과 같이 v3 점수 하나를 선택했습니다.
cvssMetricV31에 항목이 정확히 하나 있으면, CNA의 Secondary 점수라도 그 항목을 사용합니다.cvssMetricV31의 Primary 항목을 사용합니다.cvssMetricV30의 Primary 항목을 사용합니다.CVSS v2와 v4.0은 Primary 항목을 사용했습니다. v4.0 목록에 항목이 하나뿐이면 type과 관계없이 그 항목을 사용했습니다.
현재 수치를 유지하려면 같은 규칙을 적용하세요(Python 예제 참고). NVD 자체 점수만 사용하려면 Primary 항목을 읽으세요.
nist-nvd는 기본(base) 메트릭만 복사했습니다. nist-nvd2에서는 CVSS v3 cvssData에 temporalScore와 environmentalScore도 포함됩니다. 둘 다 설정되지 않은 경우 0이므로, 0을 실제 점수로 해석하지 마세요.
1.0의 cve.problemtype에는 NVD의 Primary CWE만 있었습니다. 2.0의 weaknesses에는 위 예시처럼 CNA의 CWE도 Secondary 항목으로 포함됩니다. 1.0과 같은 집합을 유지하려면 type == "Primary"로 필터링하세요.
1.0의 설명은 영어로만 제공되었습니다. 2.0의 descriptions에는 다른 언어가 포함될 수 있으므로 lang == "en"으로 필터링하세요.
두 인덱스 모두 거부(Rejected)된 CVE를 포함합니다. 1.0에서는 설명이 Rejected reason:으로 시작하는 것이 유일한 표시입니다. 2.0에서는 vulnStatus가 "Rejected"이므로 이 값으로 필터링하세요.
vulnStatus는 NVD의 분석 진행 상황도 보여줍니다. 예를 들어 Awaiting Analysis, Analyzed, Modified, Deferred 등이 있습니다.
children을 가진 하나의 노드로 합쳐졌습니다. 2.0에서는 각 구성이 configurations[]의 항목이며, 각자 operator와 nodes 목록을 가집니다.negate가 추가되었습니다. negate가 true이면 해당 노드의 결과가 반전됩니다. 1.0에서는 이 정보가 빠져 있었기 때문에, 1.0의 구성이 NVD의 의미와 반대로 읽힐 수 있었습니다. negate는 설정되지 않은 경우 존재하지 않습니다.1.0에서는 각 cpe_match의 cpe_name[]에 일치하는 CPE 이름이 나열되었습니다. 2.0에서는 대신 각 cpeMatch에 matchCriteriaId가 있습니다. CPE 이름을 얻는 방법은 두 가지입니다.
vcVulnerableCPEs에 이미 나열되어 있으므로 별도 조회가 필요 없습니다. CPE 스키마를 참고하세요./rest/json/cpematch/2.0에서 matchCriteriaId를 조회합니다.curl --request GET \
--url 'https://api.vulncheck.com/rest/json/cpematch/2.0?matchCriteriaId=F54B40AC-A555-4447-B147-576D17CAB12A' \
--header 'Authorization: Bearer insert_token_here'
CPE 이름은 matchStrings[].matchString.matches[].cpeName에 있습니다.
name과 refsource는 2.0 데이터에 없었기 때문에 1.0에서 채워 넣었습니다. name은 보통 URL이었고 refsource는 대개 MISC였습니다. 2.0에서는 각 참조의 실제 source를 제공합니다.
| nist-nvd | nist-nvd2 | |
|---|---|---|
| 형식 | 2024-04-12T08:15Z | 2024-04-12T08:15:06.230 |
| 정밀도 | 분 | 밀리초 |
| 시간대 | Z 접미사 | 없음. 값은 UTC입니다 |
2.0 날짜는 UTC로 파싱하세요. Z 접미사를 필수로 요구하는 파서는 이 값을 거부합니다.
1.0의 impact.ssvc[]는 값이 대문자인 평평한 요약이었습니다.
{ "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "exploitation": "ACTIVE", "automatable": "YES", "technicalImpact": "TOTAL" }
2.0의 metrics.ssvcV203[]는 값이 소문자인 전체 레코드를 유지합니다.
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"options": [{ "exploitation": "active" }, { "automatable": "yes" }, { "technicalImpact": "total" }],
"role": "CISA Coordinator",
"version": "2.0.3",
"id": "CVE-2024-3400",
"timestamp": "2024-04-17T04:00:13.543064Z"
}
}
백업 엔드포인트와 그 응답은 같습니다. 내부 아카이브가 다릅니다.
nist-nvd | nist-nvd2 | |
|---|---|---|
| 아카이브 | .zip 하나 | .zip 하나 |
| 파일 | CVE 연도별 하나: nvdcve-1.1-1999.json … nvdcve-1.1-2026.json | 최대 2,000개 CVE 단위의 페이지: nvdcve-2.0-000.json.gz, nvdcve-2.0-001.json.gz, … |
| 파일 인코딩 | JSON | zip 안의 gzip 압축 JSON |
| 순서 | 연도별 | 없음. 페이지는 연도별로 묶여 있지 않으며 ID순으로 정렬되어 있지도 않습니다. |
| 파일 래퍼 | NVD 1.1 피드: CVE_Items[] | NVD API 2.0 응답: vulnerabilities[].cve |
| 레코드 | 위의 1.0 레코드 | 위의 2.0 레코드 |
import json
import zipfile
with zipfile.ZipFile("nist-nvd.zip") as archive:
for name in archive.namelist(): # nvdcve-1.1-YYYY.json
feed = json.loads(archive.read(name))
for item in feed["CVE_Items"]:
print(item["cve"]["CVE_data_meta"]["ID"], item["lastModifiedDate"])
import gzip
import json
import zipfile
with zipfile.ZipFile("nist-nvd2.zip") as archive:
for name in archive.namelist(): # nvdcve-2.0-NNN.json.gz
if not name.endswith(".json.gz"):
continue
page = json.loads(gzip.decompress(archive.read(name)))
for item in page["vulnerabilities"]:
cve = item["cve"]
print(cve["id"], cve["vulnStatus"], cve["lastModified"])
vulncheck backup download nist-nvd2
각 예제는 nist-nvd2에서 CVE를 조회하고 상태, KEV 날짜, CVSS v3 점수를 출력합니다.
import os
import requests
BASE_URL = "https://api.vulncheck.com/v3"
HEADERS = {"Authorization": f"Bearer {os.environ['VULNCHECK_API_TOKEN']}"}
def nist_nvd_cvss_v3(metrics):
"""Pick the CVSS v3 entry that nist-nvd would have shown in impact.baseMetricV3."""
v31 = metrics.get("cvssMetricV31") or []
if len(v31) == 1:
return v31[0]
for key in ("cvssMetricV31", "cvssMetricV30"):
for entry in metrics.get(key) or []:
if entry["type"] == "Primary":
return entry
return None
resp = requests.get(f"{BASE_URL}/index/nist-nvd2", headers=HEADERS, params={"cve": "CVE-2024-3400"})
resp.raise_for_status()
for cve in resp.json()["data"]:
description = next(d["value"] for d in cve["descriptions"] if d["lang"] == "en")
cvss = nist_nvd_cvss_v3(cve.get("metrics", {}))
print(cve["id"], cve["vulnStatus"], cve["published"])
print(" CVSS:", cvss and cvss["cvssData"]["baseScore"], cvss and cvss["source"])
print(" KEV: ", cve.get("cisaExploitAdd"))
print(" ", description)
package main
import (
"encoding/json"
"fmt"
"log"
"net/http"
"os"
)
type cvssMetric struct {
Source string `json:"source"`
Type string `json:"type"`
CvssData struct {
BaseScore float64 `json:"baseScore"`
VectorString string `json:"vectorString"`
} `json:"cvssData"`
}
type cve struct {
ID string `json:"id"`
VulnStatus string `json:"vulnStatus"`
Published string `json:"published"`
CisaExploitAdd string `json:"cisaExploitAdd"`
Metrics struct {
CvssMetricV31 []cvssMetric `json:"cvssMetricV31"`
CvssMetricV30 []cvssMetric `json:"cvssMetricV30"`
} `json:"metrics"`
}
// primary returns the entry NVD marks as its own score.
func primary(metrics []cvssMetric) *cvssMetric {
for i := range metrics {
if metrics[i].Type == "Primary" {
return &metrics[i]
}
}
return nil
}
func main() {
req, err := http.NewRequest(http.MethodGet, "https://api.vulncheck.com/v3/index/nist-nvd2?cve=CVE-2024-3400", nil)
if err != nil {
log.Fatal(err)
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("VULNCHECK_API_TOKEN"))
resp, err := http.DefaultClient.Do(req)
if err != nil {
log.Fatal(err)
}
defer resp.Body.Close()
if resp.StatusCode != http.StatusOK {
log.Fatalf("unexpected status: %s", resp.Status)
}
var body struct {
Data []cve `json:"data"`
}
if err := json.NewDecoder(resp.Body).Decode(&body); err != nil {
log.Fatal(err)
}
for _, c := range body.Data {
score := primary(c.Metrics.CvssMetricV31)
if score == nil {
score = primary(c.Metrics.CvssMetricV30)
}
fmt.Println(c.ID, c.VulnStatus, c.Published, c.CisaExploitAdd)
if score != nil {
fmt.Println(" CVSS:", score.CvssData.BaseScore, score.CvssData.VectorString)
}
}
}
curl --silent \
--url 'https://api.vulncheck.com/v3/index/nist-nvd2?cve=CVE-2024-3400' \
--header "Authorization: Bearer $VULNCHECK_API_TOKEN" |
jq '.data[] | {
id,
vulnStatus,
published,
kev: .cisaExploitAdd,
cvss: ([.metrics.cvssMetricV31[]? | select(.type == "Primary")][0].cvssData.baseScore)
}'
nist-nvd를 nist-nvd2로 변경합니다.descriptions를 lang으로, weaknesses를 type으로 필터링합니다.vulnStatus: "Rejected"를 처리합니다.configurations의 negate를 반영합니다.Z 접미사가 없는 날짜를 파싱합니다.vulnerabilities[].cve 래퍼를 읽습니다.Deprecation 및 Sunset 헤더를 확인하고 2027년 5월 15일 전에 이전을 완료합니다.마이그레이션 관련 문의는 support@vulncheck.com으로 연락해 주세요.