-
-
Notifications
You must be signed in to change notification settings - Fork 719
Closed
Labels
defectSomething isn't workingSomething isn't workingintegration/nvdRelated to the NVD integrationRelated to the NVD integration
Milestone
Description
Current Behavior
...
2025-08-28 19:25:57,312 INFO [NistApiMirrorTask] CVEs were not previously mirrored via NVD API; Will mirror all CVEs
...
2025-08-28 19:25:58,430 ERROR [NistApiMirrorTask] An unexpected error occurred while mirroring the contents of the National Vulnerability Database
java.lang.NullPointerException: Cannot read the array length because "<parameter1>" is null
at java.base/java.lang.String.<init>(Unknown Source)
at io.github.jeremylong.openvulnerability.client.nvd.NvdCveClient._next(NvdCveClient.java:440)
at io.github.jeremylong.openvulnerability.client.nvd.NvdCveClient.next(NvdCveClient.java:379)
at org.dependencytrack.tasks.NistApiMirrorTask.inform(NistApiMirrorTask.java:154)
at alpine.event.framework.BaseEventService.lambda$publish$0(BaseEventService.java:110)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
2025-08-28 19:25:58,433 INFO [NistApiMirrorTask] Mirroring of 0 CVEs completed in PT1.122199778S
...
Steps to Reproduce
- activate NVD mirroring, using settings
- NVD Feeds URL:
https://nvd.nist.gov/feeds - API endpoint:
https://services.nvd.nist.gov/rest/json/cves/2.0 - API key: a valid one requested from NIST
- Last Modification (UTC): empty fields
- activate "Enable mirroring via API"
- restart apiserver (optional, just to trigger a download and not having to wait for the next task trigger)
Expected Behavior
Download via API should work just like a download via classic data feed (which, for me, does).
Dependency-Track Version
4.13.4
First time observed in 4.12.7
Dependency-Track Distribution
Container Image
Database Server
PostgreSQL
Database Server Version
16.3.0
Browser
Mozilla Firefox
Checklist
- I have read and understand the contributing guidelines
- I have checked the existing issues for whether this defect was already reported
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
defectSomething isn't workingSomething isn't workingintegration/nvdRelated to the NVD integrationRelated to the NVD integration