Infrastructure vulnerabilities
PostgreSQL
PostgreSQL Global Development Group · 60 CVE · Critical 0 · High 35 · In CISA KEV 0
Project site ↗Vendor advisories ↗
Check your version
e.g. 15.5 — run psql --version
All tracked CVEs · 60
Late privilege drop in REFRESH MATERIALIZED VIEW CONCURRENTLY in PostgreSQL allows an object creator to execute arbitrary SQL functions as the command issuer. The command intends to run SQL functions as the owner of the materialized view, enabling safe refresh of untrusted mater…
- ≥ 15.0, < 15.6Fixed in 15.6
- ≥ 14.0, < 14.11Fixed in 14.11
- ≥ 13.0, < 13.14Fixed in 13.14
- ≥ 12.0, < 12.18Fixed in 12.18
A flaw was found in PostgreSQL involving the pg_cancel_backend role that signals background workers, including the logical replication launcher, autovacuum workers, and the autovacuum launcher. Successful exploitation requires a non-core extension with a less-resilient backgroun…
- 16.0This version only
- ≥ 15.0, < 15.5Fixed in 15.5
- ≥ 14.0, < 14.10Fixed in 14.10
- ≥ 13.0, < 13.13Fixed in 13.13
- ≥ 12.0, < 12.17Fixed in 12.17
- ≥ 11.0, < 11.22Fixed in 11.22
A flaw was found in PostgreSQL that allows authenticated database users to execute arbitrary code through missing overflow checks during SQL array value modification. This issue exists due to an integer overflow during array modification where a remote user can trigger the overf…
- 16.0This version only
- ≥ 15.0, < 15.5Fixed in 15.5
- ≥ 14.0, < 14.10Fixed in 14.10
- ≥ 13.0, < 13.13Fixed in 13.13
- ≥ 12.0, < 12.17Fixed in 12.17
- ≥ 11.0, < 11.22Fixed in 11.22
A memory disclosure vulnerability was found in PostgreSQL that allows remote users to access sensitive information by exploiting certain aggregate function calls with 'unknown'-type arguments. Handling 'unknown'-type values from string literals without type designation can discl…
- 16.0This version only
- ≥ 15.0, < 15.5Fixed in 15.5
- ≥ 14.0, < 14.10Fixed in 14.10
- ≥ 13.0, < 13.13Fixed in 13.13
- ≥ 12.0, < 12.17Fixed in 12.17
- ≥ 11.0, < 11.22Fixed in 11.22
An issue was discovered in PostgreSQL 12.2 allows attackers to cause a denial of service via repeatedly sending SIGHUP signals. NOTE: this is disputed by the vendor because untrusted users cannot send SIGHUP signals; they can only be sent by a PostgreSQL superuser, a user with p…
- 12.2This version only
A vulnerability was found in PostgreSQL with the use of the MERGE command, which fails to test new rows against row security policies defined for UPDATE and SELECT. If UPDATE and SELECT policies forbid some rows that INSERT policies do not forbid, a user could store such rows.
- ≥ 15.0, < 15.4Fixed in 15.4
IN THE EXTENSION SCRIPT, a SQL Injection vulnerability was found in PostgreSQL if it uses @extowner@, @extschema@, or @extschema:...@ inside a quoting construct (dollar quoting, '', or ""). If an administrator has installed files of a vulnerable, trusted, non-bundled extension,…
- ≥ 15.0, < 15.4Fixed in 15.4
- ≥ 14.0, < 14.9Fixed in 14.9
- ≥ 13.0, < 13.12Fixed in 13.12
- ≥ 12.0, < 12.16Fixed in 12.16
- ≥ 11.0, < 11.21Fixed in 11.21
Row security policies disregard user ID changes after inlining; PostgreSQL could permit incorrect policies to be applied in certain cases where role-specific policies are used and a given query is planned under one role and then executed under other roles. This scenario can happ…
- ≥ 15.0, < 15.3Fixed in 15.3
- ≥ 14.0, < 14.8Fixed in 14.8
- ≥ 13.0, < 13.11Fixed in 13.11
- ≥ 12.0, < 12.15Fixed in 12.15
- ≥ 11.0, < 11.20Fixed in 11.20
schema_element defeats protective search_path changes; It was found that certain database calls in PostgreSQL could permit an authed attacker with elevated database-level privileges to execute arbitrary code.
- ≥ 15.0, < 15.3Fixed in 15.3
- ≥ 14.0, < 14.8Fixed in 14.8
- ≥ 13.0, < 13.11Fixed in 13.11
- ≥ 12.0, < 12.15Fixed in 12.15
- ≥ 11.0, < 11.20Fixed in 11.20
In PostgreSQL, a modified, unauthenticated server can send an unterminated string during the establishment of Kerberos transport encryption. In certain conditions a server can cause a libpq client to over-read and report an error message containing uninitialized bytes.
- ≥ 15.0, < 15.2Fixed in 15.2
- ≥ 14.0, < 14.7Fixed in 14.7
- ≥ 13.0, < 13.10Fixed in 13.10
- ≥ 12.0, < 12.14Fixed in 12.14