-
Notifications
You must be signed in to change notification settings - Fork 125
Description
Currently Trino Gateway uses easyrules https://github.com/j-easy/easy-rules to allow custom routing rule definition.
While this is very flexible and powerful the project has gone stale and unmaintained.
In addition there is a severe security issue https://nvd.nist.gov/vuln/detail/CVE-2023-50571
even though that relies on a insecure class being loaded and used as part of rule validation. Since dynamic loading of such classes is not part of Trino Gateway this most likely does not apply.
We should remove easy-rules usage and find alternatives. We also discussed declaring rules in a scripting language (or even plain java). In any case .. we will have to figure out security aspects around all that.
Options might be:
- https://commons.apache.org/proper/commons-jexl/
- https://github.com/mvel/mvel (we use it already indirectly, same security issue applies)
Metadata
Metadata
Assignees
Labels
No labels