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

rest-utils uses some vulnerable dependencies #260

Closed
pavel-sbor opened this issue May 31, 2021 · 2 comments
Closed

rest-utils uses some vulnerable dependencies #260

pavel-sbor opened this issue May 31, 2021 · 2 comments

Comments

@pavel-sbor
Copy link

pavel-sbor commented May 31, 2021

Description
I checked confluent kafka 6.1.1 distribution with WhiteSource and find out that some libraries have vulnerabilities.
Here they are:

  • jetty-io-9.4.38.v20210224.jar has CVE-2021-28165 vulnerability. The way to fix it is to upgrade to org.eclipse.jetty:jetty-io:9.4.39 or org.eclipse.jetty:jetty-io:10.0.2 or org.eclipse.jetty:jetty-io:11.0.2
  • jersey-common-2.31.jar has CVE-2021-28168 vulnerability. The way to fix it is to upgrade to org.glassfish.jersey.core:jersey-common:2.34
  • jetty-webapp-9.4.38.v20210224.jar has CVE-2021-28164 vulnerability. The way to fix it is to upgrade to org.eclipse.jetty:jetty-webapp:9.4.39
  • jetty-server-9.4.38.v20210224.jar has CVE-2021-28164 vulnerability. The way to fix it is to upgrade to org.eclipse.jetty:jetty-webapp:9.4.39
  • guava-28.1-jre.jar has CVE-2020-8908 vulnerability. The way to fix it is to upgrade to version 30

To Reproduce
Download Confluent Kafka 6.1.1 distribution (for example curl -O http://packages.confluent.io/archive/6.1/confluent-community-6.1.1.tar.gz)
Open share/java/rest-utils folder in it and find jars, listed above.
Check that these jars with corresponding versions are mentioned in corresponding vulnerability description (for example, on https://nvd.nist.gov/vuln/detail/CVE-2021-28168 jersey-common 2.31 is mentioned in "Known Affected Software Configurations" list)

Expected behavior

  • jetty-io upgraded to 9.4.39 or higher
  • jersey-common upgraded to 2.34 or higher
  • jetty-webapp upgraded to 9.4.39 or higher
  • jetty-server upgraded to jetty-webapp:9.4.39 or higher
  • guava upgraded to version 30 or higher

Actual behaviour

  • jetty-io is 9.4.38
  • jersey-common is 2.31
  • jetty-webapp is 9.4.38
  • jetty-server is 9.4.38
  • guava is 28.1-jre
@OneCricketeer
Copy link

#188

@janjwerner-confluent
Copy link
Member

Pavel
Thank you for raising this issue. The CVEs have been addressed. We recommend using the latest release 6.1.7 ([https://packages.confluent.io/archive/6.2/confluent-community-6.1.7.zip]

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

3 participants