Skip to content

[Bug] For security reasons, psql requires password verification before executing SQL after the session times out and disconnects #739

@z17033

Description

@z17033

Apache Cloudberry version

master

What happened

psql did not vertify the user password when executing SQL after disconnection due to session timeout. There is a security risk.

What you think should happen instead

For security reasons, psql requires password verification before executing SQL after the session times out and disconnects

How to reproduce

Step 1:
set idle_sessin_timeout = 5s;
Step 2:
restart cluster
Step 3:
Using psql login database and have the session remain idle for more than 5 seconds.

Operating System

OS-independent

Anything else

0f8eef5

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions