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

mockserver-client-java provides transitive vulnerable dependency maven:commons-collections:commons-collections:3.2.2 (CWE-674) #1822

Open
glitch8eda opened this issue Dec 13, 2023 · 0 comments

Comments

@glitch8eda
Copy link

Describe the issue
Including mockserver-client-java as a maven dependency will pull a vulnerable transitive dependency found in commons-collection:3.2.2

Vulnerability information is found here (CWE-674 classified HIGH due to attack vector network and low complexity for attacker):
https://devhub.checkmarx.com/cve-details/Cx78f40514-81ff/?utm_source=jetbrains&utm_medium=referral&utm_campaign=idea

Solution is to update commons-collection dependency to use as problem was fixed in following PR:
https://github.com/apache/commons-collections/pull/57/files

Latest version is:

org.apache.commons
commons-collections4
4.4

What you are trying to do
Was simply using the library as part of our own project. Our security scanning tools detected the vulnerability.

MockServer version
The version you are using: 5.15.0

To Reproduce
Steps to reproduce the issue:

  1. Include the following dependency in a maven build

    org.mock-server
    mockserver-client-java
    5.15.0
  2. Version 3.2.2 of the commons-collection gets pulled.
  3. Security scans report the vulnerability in transitive dependency.

Expected behaviour
Latest versions of all libraries are being used, minimizing the number of possible security vulnerabilities reported.

MockServer Log
N/A

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

1 participant