-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Please Read: Mandatory Upgrade to 12.1.0 or later #7463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Compatibility issues with the NVD API lead to failing nightly checks. Fix is to do the mandatory update of dependency-check-maven and follow advise on: dependency-check/DependencyCheck#7463
Because of dependency-check/DependencyCheck#7463 prior versions do not work with the NVD API anymore and will fill up the logs.
The parse error is becuase the CPE has a trailing tab; see #7509 (comment) I'll email the NVD |
Hi,
It was not allowing me to create a new issue that's why I added in comments.
Regards,
Kaushik Dutta
…________________________________
From: Marcel Stör ***@***.***>
Sent: Friday, March 7, 2025 6:33:06 PM
To: dependency-check/DependencyCheck ***@***.***>
Cc: Dutta, Kaushik (FT D IN DTS DES EXS) ***@***.***>; Mention ***@***.***>
Subject: Re: [dependency-check/DependencyCheck] Please Read: Mandatory Upgrade to 12.1.0 or later (Issue #7463)
@kaushikdutta2025<https://github.com/kaushikdutta2025> can you please create a dedicated issue for this CVE-2025-1571<https://github.com/advisories/GHSA-m2pc-2qwh-xvv7> parse error, thanks. You may then delete the comment above.
—
Reply to this email directly, view it on GitHub<#7463 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BQHJZB6NEOHGG7XOSOL36DD2TGKIVAVCNFSM6AAAAABXXZYC4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMBWGQYDMMBSGA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
[marcelstoer]marcelstoer left a comment (dependency-check/DependencyCheck#7463)<#7463 (comment)>
@kaushikdutta2025<https://github.com/kaushikdutta2025> can you please create a dedicated issue for this CVE-2025-1571<https://github.com/advisories/GHSA-m2pc-2qwh-xvv7> parse error, thanks. You may then delete the comment above.
—
Reply to this email directly, view it on GitHub<#7463 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BQHJZB6NEOHGG7XOSOL36DD2TGKIVAVCNFSM6AAAAABXXZYC4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMBWGQYDMMBSGA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hi,
We are using dependency check in cicd pipeline so nvd are pulled on demand. can you please suggest a solution.
Regards,
Kaushik Dutta
…________________________________
From: Jeremy Long ***@***.***>
Sent: Friday, March 7, 2025 6:36:41 PM
To: dependency-check/DependencyCheck ***@***.***>
Cc: Dutta, Kaushik (FT D IN DTS DES EXS) ***@***.***>; Mention ***@***.***>
Subject: Re: [dependency-check/DependencyCheck] Please Read: Mandatory Upgrade to 12.1.0 or later (Issue #7463)
The parse error is becuase the CPE has a trailing tab; see #7509 (comment)<#7509 (comment)>
I'll email the NVD
—
Reply to this email directly, view it on GitHub<#7463 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BQHJZB4V3JPXPP2APITARET2TGKWDAVCNFSM6AAAAABXXZYC4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMBWGQYTGMRSGE>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
[jeremylong]jeremylong left a comment (dependency-check/DependencyCheck#7463)<#7463 (comment)>
The parse error is becuase the CPE has a trailing tab; see #7509 (comment)<#7509 (comment)>
I'll email the NVD
—
Reply to this email directly, view it on GitHub<#7463 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BQHJZB4V3JPXPP2APITARET2TGKWDAVCNFSM6AAAAABXXZYC4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMBWGQYTGMRSGE>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
To update the nvd data sounds like the best approach. Is it possible? |
TLDR; I can just speak for the maven plugin as I've not tried this with gradle. so using a cicd pipeline is a valid approach IF you use a version that doesn't fail. i.e. I use it to (nightly) cache the data into a container image, possibly for multiple plugin versions (the nvd db persistence varies). Then I run maven on CI using that image, hence reusing the cached data. That said I hope folks at Nist will fix it soon (possibly adding some check to avoid further disruptions). |
Are there any plans to backport these latest fixes to version 10 which is the last Java 8 compatible version of dependency-check? |
No |
### Motivation The CI Job `OWASP Dependency Check` has failed consistently since [last month][failed-ci-job], below are the error details: ``` Error: Unable to continue dependency-check analysis. Error: Failed to execute goal org.owasp:dependency-check-maven:10.0.2:aggregate (default) on project bookkeeper: Fatal exception(s) analyzing Apache BookKeeper :: Parent: One or more exceptions occurred during analysis: Error: UpdateException: Error updating the NVD Data Error: caused by NvdApiException: Failed to parse NVD data Error: caused by ValueInstantiationException: Cannot construct instance of `io.github.jeremylong.openvulnerability.client.nvd.CvssV4Data$ModifiedCiaType`, problem: SAFETY Error: at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 3052240] (through reference chain: io.github.jeremylong.openvulnerability.client.nvd.CveApiJson20["vulnerabilities"]->java.util.ArrayList[1471]->io.github.jeremylong.openvulnerability.client.nvd.DefCveItem["cve"]->io.github.jeremylong.openvulnerability.client.nvd.CveItem["metrics"]->io.github.jeremylong.openvulnerability.client.nvd.Metrics["cvssMetricV40"]->java.util.ArrayList[0]->io.github.jeremylong.openvulnerability.client.nvd.CvssV4["cvssData"]->io.github.jeremylong.openvulnerability.client.nvd.CvssV4Data["modifiedSubsequentSystemIntegrity"]) Error: caused by IllegalArgumentException: SAFETY Error: NoDataException: No documents exist Error: -> [Help 1] ``` According to `dependency-check` Mandatory Upgrade [Notice](dependency-check/DependencyCheck#7463): ``` Due to compatibility issues with the NVD API - all users must upgrade to 12.1.0 or later. ``` This patch is to do so. [failed-ci-job]: https://github.com/apache/bookkeeper/actions/runs/13349834218/job/37284861261
Due to compatibility issues with the NVD API - all users must upgrade to 12.1.0 or later.
The text was updated successfully, but these errors were encountered: