Skip to content

Please Read: Mandatory Upgrade to 12.1.0 or later #7463

Closed

Description

@jeremylong

Due to compatibility issues with the NVD API - all users must upgrade to 12.1.0 or later.

Activity

  1. pinned this issue on Feb 24, 2025
  2. marcelstoer commented on Feb 24, 2025

    @marcelstoer
    Collaborator

    For details see the CHANGELOG and the referenced issue.

  3. added a commit that references this issue on Feb 27, 2025
  4. added a commit that references this issue on Mar 4, 2025
  5. kaushikdutta2025 commented on Mar 7, 2025

    @kaushikdutta2025

    Image

    Image

    Hi We are facing build failures after updating to 12.1.0. Please check the screenshots. This is java application and we are using gradle ./gradlew dependencyCheckAnalyze ..we have use nvd api key as wel... In one other python repo we are getting this error

    Image

  6. jeremylong commented on Mar 7, 2025

    @jeremylong
    CollaboratorAuthor

    The parse error is becuase the CPE has a trailing tab; see #7509 (comment)

    I'll email the NVD

  7. kaushikdutta2025 commented on Mar 7, 2025

    @kaushikdutta2025
  8. kaushikdutta2025 commented on Mar 7, 2025

    @kaushikdutta2025
  9. GoodOwl commented on Mar 7, 2025

    @GoodOwl

    Hi,
    We are using dependency check in cicd pipeline so nvd are pulled on demand. can you please suggest a solution.

    Regards,
    Kaushik Dutta
    …

    To update the nvd data sounds like the best approach. Is it possible?

  10. davidecavestro commented on Mar 7, 2025

    @davidecavestro

    Hi,
    We are using dependency check in cicd pipeline so nvd are pulled on demand. can you please suggest a solution.

    Regards,
    Kaushik Dutta
    …

    TLDR;
    you should persist the nvd db

    I can just speak for the maven plugin as I've not tried this with gradle.
    For the trailing tab issue I see:
    mvn org.owasp:dependency-check-maven:12.1.0:update-only -> SUCCESS (logs an error and continue)
    mvn org.owasp:dependency-check-maven:8.2.1:update-only -> FAILURE

    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.
    But this doesn't work for the versions that still fail.
    OTOH if you get the data just to put it into a relational db, then you are ok.
    Repeatedly downloading the nvd db on the fly leads to various issues (throttling, random network errors, etc)

    That said I hope folks at Nist will fix it soon (possibly adding some check to avoid further disruptions).

  11. ob-alexn-sportsbet commented on Mar 27, 2025

    @ob-alexn-sportsbet

    Are there any plans to backport these latest fixes to version 10 which is the last Java 8 compatible version of dependency-check?

  12. jeremylong commented on Mar 27, 2025

    @jeremylong
    CollaboratorAuthor

    No

  13. locked as resolved and limited conversation to collaborators on May 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions