Bug 1805501 (CVE-2020-10693) - CVE-2020-10693 hibernate-validator: Improper input validation in the interpolation of constraint error messages
Summary: CVE-2020-10693 hibernate-validator: Improper input validation in the interpol...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2020-10693
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1817064 1831527
Blocks: 1805503 2014197
TreeView+ depends on / blocked
 
Reported: 2020-02-20 21:54 UTC by Pedro Sampaio
Modified: 2021-12-14 18:47 UTC (History)
106 users (show)

Fixed In Version: hibernate-validator 7.0.0.Alpha2, hibernate-validator 6.1.5.Final, hibernate-validator 6.0.20.Final
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Hibernate Validator version 6.1.2.Final. A bug in the message interpolation processor enables invalid EL expressions to be evaluated as if they were valid. This flaw allows attackers to bypass input sanitation (escaping, stripping) controls that developers may have put in place when handling user-controlled data in error messages.
Clone Of:
Environment:
Last Closed: 2020-08-17 15:15:40 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:3461 0 None None None 2020-08-17 13:28:22 UTC
Red Hat Product Errata RHSA-2020:3462 0 None None None 2020-08-17 13:30:32 UTC
Red Hat Product Errata RHSA-2020:3463 0 None None None 2020-08-17 13:34:01 UTC
Red Hat Product Errata RHSA-2020:3464 0 None None None 2020-08-17 13:25:59 UTC
Red Hat Product Errata RHSA-2020:3501 0 None None None 2020-08-18 16:35:10 UTC
Red Hat Product Errata RHSA-2020:3539 0 None None None 2020-09-02 09:47:41 UTC
Red Hat Product Errata RHSA-2020:3637 0 None None None 2020-09-07 12:56:14 UTC
Red Hat Product Errata RHSA-2020:3638 0 None None None 2020-09-07 13:02:20 UTC
Red Hat Product Errata RHSA-2020:3639 0 None None None 2020-09-07 12:59:14 UTC
Red Hat Product Errata RHSA-2020:3642 0 None None None 2020-09-07 13:06:40 UTC
Red Hat Product Errata RHSA-2020:3806 0 None None None 2020-09-23 16:27:26 UTC
Red Hat Product Errata RHSA-2020:4252 0 None None None 2020-10-14 11:17:31 UTC
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 12:55:56 UTC
Red Hat Product Errata RHSA-2020:4960 0 None None None 2020-11-05 18:47:24 UTC
Red Hat Product Errata RHSA-2020:4961 0 None None None 2020-11-05 18:48:50 UTC
Red Hat Product Errata RHSA-2021:3140 0 None None None 2021-08-11 18:22:48 UTC

Description Pedro Sampaio 2020-02-20 21:54:48 UTC
A flaw was found in hibernate-validator 6.1.2.Final. A bug in the interpolation of constraint error messages code enables invalid EL expressions to be evaluated as if they were valid. This bug enables attackers to bypass input sanitation (escaping, stripping) controls that developers may have put in place when handling user-controlled data in error messages.

Comment 1 Pedro Sampaio 2020-02-20 22:00:11 UTC
Acknowledgments:

Name: Alvaro Muñoz (GitHub Security Labs)

Comment 5 Summer Long 2020-03-05 04:33:12 UTC
Statement:

hibernate-validator is packaged with Red Hat OpenStack Platform 13.0's OpenDaylight (ODL). However, because ODL is technical preview in this version and the flaw is moderate, Red Hat will not be releasing a fix for the OpenStack package at this time.

Comment 16 Ted Jongseok Won 2020-05-05 07:13:12 UTC
Created hibernate-validator tracking bugs for this issue:

Affects: fedora-30 [bug 1831527]

Comment 21 Ted Jongseok Won 2020-06-29 06:51:05 UTC
Mitigation:

You can pass user input as an expression variable by unwrapping the context to HibernateConstraintValidatorContext. Please refer to the https://in.relation.to/2020/05/07/hibernate-validator-615-6020-released/ and https://docs.jboss.org/hibernate/stable/validator/reference/en-US/html_single/#_the_code_constraintvalidatorcontext_code.

Comment 23 errata-xmlrpc 2020-08-17 13:25:55 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform

Via RHSA-2020:3464 https://access.redhat.com/errata/RHSA-2020:3464

Comment 24 errata-xmlrpc 2020-08-17 13:28:16 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6

Via RHSA-2020:3461 https://access.redhat.com/errata/RHSA-2020:3461

Comment 25 errata-xmlrpc 2020-08-17 13:30:26 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 7

Via RHSA-2020:3462 https://access.redhat.com/errata/RHSA-2020:3462

Comment 26 errata-xmlrpc 2020-08-17 13:33:56 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 8

Via RHSA-2020:3463 https://access.redhat.com/errata/RHSA-2020:3463

Comment 27 Product Security DevOps Team 2020-08-17 15:15:40 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-10693

Comment 28 errata-xmlrpc 2020-08-18 16:35:05 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On 7.4.2

Via RHSA-2020:3501 https://access.redhat.com/errata/RHSA-2020:3501

Comment 29 errata-xmlrpc 2020-09-02 09:47:29 UTC
This issue has been addressed in the following products:

  Red Hat Openshift Application Runtimes

Via RHSA-2020:3539 https://access.redhat.com/errata/RHSA-2020:3539

Comment 30 errata-xmlrpc 2020-09-07 12:56:08 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.2 for RHEL 6

Via RHSA-2020:3637 https://access.redhat.com/errata/RHSA-2020:3637

Comment 31 errata-xmlrpc 2020-09-07 12:59:09 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.2 for RHEL 8

Via RHSA-2020:3639 https://access.redhat.com/errata/RHSA-2020:3639

Comment 32 errata-xmlrpc 2020-09-07 13:02:14 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.2 for RHEL 7

Via RHSA-2020:3638 https://access.redhat.com/errata/RHSA-2020:3638

Comment 33 errata-xmlrpc 2020-09-07 13:06:33 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform

Via RHSA-2020:3642 https://access.redhat.com/errata/RHSA-2020:3642

Comment 34 errata-xmlrpc 2020-09-23 16:27:20 UTC
This issue has been addressed in the following products:

  Red Hat Runtimes Spring Boot 2.2.6

Via RHSA-2020:3806 https://access.redhat.com/errata/RHSA-2020:3806

Comment 36 errata-xmlrpc 2020-10-14 11:17:23 UTC
This issue has been addressed in the following products:

  Red Hat build of Quarkus 1.7.5

Via RHSA-2020:4252 https://access.redhat.com/errata/RHSA-2020:4252

Comment 37 errata-xmlrpc 2020-10-27 12:55:50 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.7 for RHEL 8

Via RHSA-2020:4366 https://access.redhat.com/errata/RHSA-2020:4366

Comment 38 errata-xmlrpc 2020-11-05 18:47:19 UTC
This issue has been addressed in the following products:

  RHDM 7.9.0

Via RHSA-2020:4960 https://access.redhat.com/errata/RHSA-2020:4960

Comment 39 errata-xmlrpc 2020-11-05 18:48:46 UTC
This issue has been addressed in the following products:

  RHPAM 7.9.0

Via RHSA-2020:4961 https://access.redhat.com/errata/RHSA-2020:4961

Comment 40 errata-xmlrpc 2021-08-11 18:22:43 UTC
This issue has been addressed in the following products:

  Red Hat Fuse 7.9

Via RHSA-2021:3140 https://access.redhat.com/errata/RHSA-2021:3140


Note You need to log in before you can comment on or make changes to this bug.