Skip to content
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

OWASP dependency vulnerability check failure #1392

Open
wenqiglantz opened this issue Jun 27, 2021 · 4 comments
Open

OWASP dependency vulnerability check failure #1392

wenqiglantz opened this issue Jun 27, 2021 · 4 comments

Comments

@wenqiglantz
Copy link

I ran OWASP dependency vulnerability check on my app, which uses Pact, specifically the following dependency lib.

<dependency>
   <groupId>au.com.dius.pact.consumer</groupId>
   <artifactId>junit5</artifactId>
   <version>4.2.6</version>
</dependency>

The dependency vulnerability check showed the following results, complaining about two dependency libs within au.com.dius.pact.consumer:junit5:4.2.6, any suggestion on how this can be fixed?

image

@wenqiglantz
Copy link
Author

Update: I found out that by upgrading tika-core to version 1.26, the vulnerability check passes for tika-core jar! But for alpn-api, there is no new version since 2016, so this jar remains a vulnerability concern. Suggest to at least upgrade tika-core to version 1.26 in the next version for au.com.dius.pact.consumer:junit5.

uglyog pushed a commit that referenced this issue Jul 17, 2021
@uglyog
Copy link
Member

uglyog commented Jul 17, 2021

There is not much I can do about alpn-api, that is a transitive dependency of io.ktor:ktor-server-netty. You can try add an exclusion and see if Pact-JVM still works without it (should be ok if you are not using the KTor mock server).

The other option is to raise an issue at https://github.com/ktorio/ktor

@uglyog
Copy link
Member

uglyog commented Jul 17, 2021

Looks like there is already a issue for it: ktorio/ktor#1307

@uglyog
Copy link
Member

uglyog commented Jul 21, 2021

4.2.8 is released

uglyog pushed a commit that referenced this issue Jul 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants