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.

Updating from 5.3.2 to 6.0.1 in angular project

See original GitHub issue

Hello, if I update the Dependency-Check-Maven-Plugin from 5.3.2 to 6.0.1 without further changes in my configuration, the build is interrupted (as configured) while new vulnerabilities are found. That’s okay, but in contrast to 5.3.2, where 2 vulnerabilities were found, version 6.0.1 now finds 2290 … And that surprises me a little.

After looking around I set up a little demo project with just a pom.xml, a package.json and a owasp-exclude.xml. And it looks as the plugin now will find any vulnerabilty for the devDependencies in package.json

So the questions for is now: Is there something I can do ? Can I suppress the scanning of devDependencies (setting nodeAuditSkipDevDependencies to false true does not work)?

Runs executed on 18th of September 2020, at around 08:45CEST

  • run1: mvn clean verify produces 0 vulnerabilities
  • run2: mvn clean verify -Ddependency-check-maven.version=6.0.1 produces 2289 vulnerablities in 82 dependencies
  • run3: devDependencies removed from package.json mvn clean verify -Ddependency-check-maven.version=6.0.1 will produce again 0 vulnerabilities

The pom.xml (with plugin version 5.3.2), package.json and owasp-exclude.xml are attached as 03_demo.zip 03_demo.zip

The created reports of the three runs are attached as reports.zip reports.zip

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
NorthernKgalagadicommented, Oct 5, 2020

it seems not really working: also with version 6.0.2 and <nodeAuditSkipDevDependencies>true</nodeAuditSkipDevDependencies> I still get more than 2200 vulnerabities for the attached demo project … (exactly: 2268 vulnerabilities in 47 dependencies, which is only a little bit fewer than the original 2289 vulnerablities in 82 dependencies … )

1reaction
jeremylongcommented, Sep 24, 2020

In addition - I believe I just fixed the issue with skipping dev dependencies via nodeAuditSkipDevDependencies. The patch will be in 6.0.2.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular Update Guide
Select the options that match your update · Angular versions · Application complexity · Other dependencies.
Read more >
Can't update angular to version 6 - Stack Overflow
the project is compiling and working when ng serve. I'm using v9.9.0 of Node and 6.0.1 of npm. Heres's tslint.ts file { "rulesDirectory" ......
Read more >
How to Upgrade Angular 4 to Angular 5 Apps - Data Analytics
This blog represents steps required to upgrade or update or migrate existing Angular 4 apps to Angular 5 apps. Greater details can be...
Read more >
How to upgrade AngularJS to the latest version in ionic app?
You should look in the root of your project if it contain a package.json or bower.json file. There you can update the version...
Read more >
How to get started with Angular 6.0 - freeCodeCamp
ng update. A new CLI command that will update your project dependencies to their latest versions. ng add. Another new CLI command that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

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