hypertrace/document-store

PostgresCollection implementation is vulnerable to SQLi

avinashkolluru opened this issue · 1 comments

See the method parseQueryForNonCompositeFilter here -

protected String parseQueryForNonCompositeFilter(Filter filter) {

We seem to be appending strings to create a SQL statement instead of creating a parameterized query using ? and later setting the corresponding arguments while querying.

This is prone to SQL injection.

This has been addressed by #30 so closing this issue.