Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-generalised query items should not be visible to non-super user #417

Closed
dutow opened this issue Jul 17, 2023 · 1 comment
Closed

Non-generalised query items should not be visible to non-super user #417

dutow opened this issue Jul 17, 2023 · 1 comment

Comments

@dutow
Copy link
Contributor

dutow commented Jul 17, 2023

This is a security threat that a non-super user can see the user data using pg_stat_monitor. For example

SELECT id, Name from cards where card_no like "1235-1253-3735-2674";

pg_stat_statments and pg_stat_monitor (Generalized mode) show this
SELECT id, Name from cards where card_no like "?";

But in the non-generalized option, pg_stat_monitor will show the original data.

SELECT id, Name from cards where card_no like "1235-1253-3735-2674";

https://jira.percona.com/browse/PG-565

@ImTheKai
Copy link
Contributor

Will be tracked here https://jira.percona.com/browse/PG-565

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants