Skip to content

SQL Injection vulnerability in SECURITY DEFINER function pgsodium.mask_role #116

@svenklemm

Description

@svenklemm

pgsodium.mask_role does not properly quote the view_name argument before using it in a generated sql query. This is especially critical since mask_role is a security definer function.

There might be similar missing quoting in other non-security definer functions.

Fixed by #115

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