CVE-2021-33204
Pgxn Pg Partman vulnerability
In the pg_partman (aka PG Partition Manager) extension before 4.5.1 for PostgreSQL, arbitrary code execution can be achieved via SECURITY DEFINER functions because an explicit search_path is not set.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Pg Partman. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Pgxn Pg Partman runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.