Skip to content

Postgres Bucket's sql f-strings #233

@paultiq

Description

@paultiq

The postgres bucket implementation uses a sql f-string which raises concern over sql injection possibilities. Two of the parameters are easy to move to sql parameters but the dynamic table name is a little trickier.

Recommendation: rewrite to sanitize the table name, and use parameters for the other fields.

This was flagged in #228

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions