You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Alexander Kolbasov (JIRA)" <ji...@apache.org> on 2016/12/15 00:22:58 UTC
[jira] [Assigned] (SENTRY-1476) SentryStore is subject to JDQL
injection
[ https://issues.apache.org/jira/browse/SENTRY-1476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Kolbasov reassigned SENTRY-1476:
------------------------------------------
Assignee: Alexander Kolbasov
> SentryStore is subject to JDQL injection
> ----------------------------------------
>
> Key: SENTRY-1476
> URL: https://issues.apache.org/jira/browse/SENTRY-1476
> Project: Sentry
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.7.0, sentry-ha-redesign
> Reporter: Alexander Kolbasov
> Assignee: Alexander Kolbasov
> Attachments: SENTRY-1476.001.patch, SENTRY-1476.002.patch
>
>
> SentryStore.java has a bunch of places where the query is constructed by concatenating strings rather than using JDQL parameters. This is subject to JDQL injection since some of the parameters come from Thrift.
> All strings from Thrift should be passed as parameters, not as string concatenation.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)