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 vulnerable version of hibernate-validator #188

Open
pavel-sbor opened this issue Jul 7, 2020 · 4 comments
Open

rest-utils uses vulnerable version of hibernate-validator #188

pavel-sbor opened this issue Jul 7, 2020 · 4 comments

Comments

@pavel-sbor
Copy link

pavel-sbor commented Jul 7, 2020

Description
I checked confluent kafka 5.5.1 distribution with WhiteSource and find out that rest-utils uses vulnerable library:

  • hibernate-validator-6.0.17.Final.jar has CVE-2019-10219 and CVE-2020-10693 vulnerabilities. The way to fix it is to upgrade to org.hibernate.validator:hibernate-validator:6.0.20.Final

To Reproduce
Download Confluent Kafka 5.5.1 distribution (for example curl -O http://packages.confluent.io/archive/5.5/confluent-community-5.5.1-2.12.tar.gz)
Open share/java/rest-utils folder in it and find hibernate-validator-6.0.17.Final.jar

Expected behavior

  • hibernate-validator upgraded to 6.0.20.Final or higher

Actual behaviour

  • hibernate-validator is 6.0.17.Final
@dongjinleekr
Copy link
Contributor

@omkreddy It seems like this issue is alread fixed - the current hibernate validator version is 6.1.7.Final.

@ewencp
Copy link
Contributor

ewencp commented Mar 9, 2021

Yes, this looks like it's made it onto 5.4.x and newer #224. Note that 5.5.1 is not the latest bugfix release on the 5.5.x line anymore, but was at the time of the report. At the moment, a newer 5.5.x release has not been produced, but there are releases in the 6.x set of release lines that do contain the fix.

@janjwerner-confluent
Copy link
Member

Pavel,
Thank you for raising this issue. We are investigating this as a possible regression.

@janjwerner-confluent
Copy link
Member

The latest release of 5.5 version (5.5.12) ships with the updated hibernate-validator version: 6.1.7.Final.

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

4 participants