What is it?

PostgreSQL’s wire protocol ensures persistent, long-lived connections that are crucial for client-server communication in database operations.

Why is it a risk?

Port 5432 of your server is exposed to the internet. This may allow attackers to gain access to your database.

How can you mitigate the risk?

If you do not actually need to access your database remotely using the Internet, then disable port 5432 entirely using firewall rules.

If you do need to use PostgreSQL wire protocol, then add firewall rules that limit access by IP address.

Share →