question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Describe the bug dependency-check cli is failing without the nvd metadata file for the new year

[ERROR] Unable to download meta file: https://nvd.nist.gov/feeds/json/cve/1.1/nvdcve-1.1-2020.meta; received 404 -- resource not found
org.owasp.dependencycheck.data.update.exception.UpdateException: Unable to download meta file: https://nvd.nist.gov/feeds/json/cve/1.1/nvdcve-1.1-2020.meta; received 404 -- resource not found
	at org.owasp.dependencycheck.data.update.NvdCveUpdater.getMetaFile(NvdCveUpdater.java:351)
	at org.owasp.dependencycheck.data.update.NvdCveUpdater.getUpdatesNeeded(NvdCveUpdater.java:398)
	at org.owasp.dependencycheck.data.update.NvdCveUpdater.update(NvdCveUpdater.java:122)
	at org.owasp.dependencycheck.Engine.doUpdates(Engine.java:922)
	at org.owasp.dependencycheck.Engine.initializeAndUpdateDatabase(Engine.java:723)
	at org.owasp.dependencycheck.Engine.analyzeDependencies(Engine.java:653)
	at org.owasp.dependencycheck.App.runScan(App.java:252)
	at org.owasp.dependencycheck.App.run(App.java:184)
	at org.owasp.dependencycheck.App.main(App.java:80)
Caused by: org.owasp.dependencycheck.utils.ResourceNotFoundException: Requested resource does not exists - received a 404
	at org.owasp.dependencycheck.utils.HttpResourceConnection.obtainConnection(HttpResourceConnection.java:204)
	at org.owasp.dependencycheck.utils.HttpResourceConnection.fetch(HttpResourceConnection.java:138)
	at org.owasp.dependencycheck.utils.Downloader.fetchContent(Downloader.java:110)
	at org.owasp.dependencycheck.data.update.NvdCveUpdater.getMetaFile(NvdCveUpdater.java:340)

** Version of dependency-check used ** The problem occurs using version 5.2.4 of the the cli (cli, gradle plugin, maven plugin, etc.)

** Log file ** When reporting errors, 99% of the time log file output is required. Please post the log file as a gist and provide a link in the new issue.

To Reproduce Steps to reproduce the behavior: Run a dependency check scan on Jan 1 of a new year.

Expected behavior Tool should continue without the metadata and cve feed for the new year.

Additional context Add any other context about the problem here.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:69
  • Comments:37 (5 by maintainers)

github_iconTop GitHub Comments

18reactions
GFriedrichcommented, Jan 2, 2020

The files for 2020 have just been released: https://nvd.nist.gov/vuln/data-feeds#JSON_FEED That said: Everything should be working again for you. 😎

15reactions
vdotjansencommented, Jan 2, 2020

This is open source people, stop demanding a release, a fix has been commited, a release will be made when Jeremy is ready for it. You can compile it on your own if you need it now. If I was Jeremy I would not rush to release as more changes have been made then just this small fix. If you want to have a 5.2.4 with just this patch you can take the source code from my fork (or preferably make your own) https://github.com/vdotjansen/DependencyCheck/tree/5.2.4-patched

Read more comments on GitHub >

github_iconTop Results From Across the Web

Y2K bug | National Geographic Society
The Y2K bug was a computer flaw, or bug, that may have caused problems when dealing with dates beyond December 31, 1999.
Read more >
Year 2000 problem - Wikipedia
The year 2000 problem, also known as the Y2K problem, Y2K scare, millennium bug, Y2K bug, ... A "Y2K-like bug" affected a New...
Read more >
Y2K bug | Definition, Hysteria, & Facts - Encyclopedia Britannica
Y2K bug, also called Year 2000 bug or Millennium Bug, a problem in the coding of computerized systems that was projected to create...
Read more >
Remember the Y2K bug? Microsoft confirms new Y2K22 issue
The technical issue seems to lie with the way that Microsoft was naming updates for its malware-scanning engine, putting the year, month, and ......
Read more >
20 Years Later, the Y2K bug seems like a joke. That's because ...
31, 1999, John Koskinen boarded an airplane bound for New York City. He was accompanied by a handful of reporters but few other...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found