Skip to content

Upgrade to Hibernate Validator 6.2.0.Final #24905

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

Closed
snicoll opened this issue Jan 20, 2021 · 7 comments
Closed

Upgrade to Hibernate Validator 6.2.0.Final #24905

snicoll opened this issue Jan 20, 2021 · 7 comments
Labels
type: dependency-upgrade A dependency upgrade
Milestone

Comments

@snicoll
Copy link
Member

snicoll commented Jan 20, 2021

No description provided.

@snicoll snicoll added the type: dependency-upgrade A dependency upgrade label Jan 20, 2021
@snicoll snicoll added this to the 2.5.0-M1 milestone Jan 20, 2021
@fmartinou
Copy link

Hi,

It seems that Hibernate Validator 6.2.0.Final is affected by CVE-2020-10693 which has been fixed in 7.0.1.Final.

Are there any plans to upgrade the version in the Spring Boot 2.5.x BOM?

@wilkinsona
Copy link
Member

According to the CVE to which you have linked, 6.2.0.Final is not affected. It is only 6.0.x and certain versions of 6.1.x that are affected. Even if that were not the case, upgrading to 7.0.x would not be an option at this time I'm afraid. Hibernate Validator 7 implements the Bean Validation 3.0 specification that is part of Jakarta EE 9. Jakarta EE 9 moves all of its API from javax.* packages to jakarta.* packages and as such is a major breaking change. Support for Jakarta EE 9 is planned for Spring Framework 6 and Spring Boot 3.

@fmartinou
Copy link

Thank you very much for your answer.
I'm still unsure regarding whether 6.2.0.Final is affected.

According to the nist, the version packaged by RH is affected:
image

And the same according to Sonatype OSSIndex
image

@wilkinsona
Copy link
Member

That table in the CVE is certainly confusing but I still believe that 6.2.0.Final isn't vulnerable. It was released in December 2020, some 7 months after the 6.0.x and 6.1.x releases that fixed the vulnerability. If you want to be certain about this, you should raise it with Red Hat and the Hibernate Validator team. https://hibernate.atlassian.net/browse/HV-1774 is the issue tracking the vulnerability.

@fmartinou
Copy link

As you suggested, I'll ask the Hibernate Validator team, just to get the confirmation; thanks for your time!

@msymons
Copy link

msymons commented Jul 15, 2021

As you suggested, I'll ask the Hibernate Validator team, just to get the confirmation; thanks for your time!

I chased up with Sonatype and they have now updated their data to reflect that Hibernate Validator 6.2.0.Final is NOT affected by CVE-2020-10693.

@wilkinsona
Copy link
Member

That's great. Thanks very much, @msymons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: dependency-upgrade A dependency upgrade
Projects
None yet
Development

No branches or pull requests

4 participants