Francesco Chicchiriccò created SYNCOPE-2017:
-----------------------------------------------

             Summary: SCIM PATCH value-path filters are evaluated as JEXL 
expressions
                 Key: SYNCOPE-2017
                 URL: https://issues.apache.org/jira/browse/SYNCOPE-2017
             Project: Syncope
          Issue Type: Bug
          Components: extensions
            Reporter: Francesco Chicchiriccò
            Assignee: Francesco Chicchiriccò
             Fix For: 4.1.5, 4.2.0, 5.0.0


SCIM PATCH operations containing a value-path filter, for example {{emails[type 
eq "work"].value}}, are translated into a JEXL expression by simple string 
replacement and evaluated on the request thread while the update request is 
being bound.

The SCIM filter should be parsed and evaluated as a small, bounded comparison 
expression against the configured complex attributes instead.

Proposed change: use a strict value-path filter parser/evaluator, reject 
unsupported filters during deserialization.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to