Lucene search

K
redhatcveRedhat.comRH:CVE-2020-10693
HistoryMay 05, 2020 - 7:39 a.m.

CVE-2020-10693

2020-05-0507:39:53
redhat.com
access.redhat.com
22

EPSS

0.001

Percentile

49.7%

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.

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/&gt; and <https://docs.jboss.org/hibernate/stable/validator/reference/en-US/html_single/#_the_code_constraintvalidatorcontext_code&gt;.