p PatchFirst

PatchFirst · Latest vulnerabilities

postgresql16 vulnerabilities · Page 6

Vulnerabilities published for postgresql16 in the last 30 days: 52. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 109

  1. CVE-2024-10979

    High · CVSS 8.8EPSS 2.35%Fix available

    PostgreSQL PL/Perl environment variable changes execute arbitrary code

    Incorrect control of environment variables in PostgreSQL PL/Perl allows an unprivileged database user to change sensitive process environment variables (e.g. PATH). That often suffices to enable arbitrary code execution, even if the attacker lacks a database server operating system user. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.

    • Update to 16.5-r0
    Published Updated
  2. CVE-2024-10978

    Medium · CVSS 4.2EPSS 0.68%Fix available

    PostgreSQL SET ROLE, SET SESSION AUTHORIZATION reset to wrong user ID

    Incorrect privilege assignment in PostgreSQL allows a less-privileged application user to view or change different rows from those intended. An attack requires the application to use SET ROLE, SET SESSION AUTHORIZATION, or an equivalent feature. The problem arises when an application query uses parameters from the attacker or conveys query results to the attacker. If that query reacts to current_setting('role') or the current user ID, it may modify or return data as though the session had not used SET ROLE or SET SESSION AUTHORIZATION. The attacker does not control which incorrect user ID applies. Query text from less-privileged sources

    • Update to 16.5-r0
    Published Updated
  3. CVE-2024-10977

    Low · CVSS 3.1EPSS 0.4%Fix available

    PostgreSQL libpq retains an error message from man-in-the-middle

    Client use of server error message in PostgreSQL allows a server not trusted under current SSL or GSS settings to furnish arbitrary non-NUL bytes to the libpq application. For example, a man-in-the-middle attacker could send a long error message that a human or screen-scraper user of psql mistakes for valid query results. This is probably not a concern for clients where the user interface unambiguously indicates the boundary between one error message and other text. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.

    • Update to 16.5-r0
    Published Updated
  4. CVE-2024-10976

    Medium · CVSS 4.2EPSS 0.8%Fix available

    PostgreSQL row security below e.g. subqueries disregards user ID changes

    Incomplete tracking in PostgreSQL of tables with row security allows a reused query to view or change different rows from those intended. CVE-2023-2455 and CVE-2016-2193 fixed most interaction between row security and user ID changes. They missed cases where a subquery, WITH query, security invoker view, or SQL-language function references a table with a row-level security policy. This has the same consequences as the two earlier CVEs. That is to say, it leads to potentially incorrect policies being applied in cases where role-specific policies are used and a given query is planned under one role and then executed under other roles. This

    • Update to 16.5-r0
    Published Updated
  5. CVE-2024-7348

    High · CVSS 8.8EPSS 1.3%Fix available

    PostgreSQL relation replacement during pg_dump executes arbitrary SQL

    Time-of-check Time-of-use (TOCTOU) race condition in pg_dump in PostgreSQL allows an object creator to execute arbitrary SQL functions as the user running pg_dump, which is often a superuser. The attack involves replacing another relation type with a view or foreign table. The attack requires waiting for pg_dump to start, but winning the race condition is trivial if the attacker retains an open transaction. Versions before PostgreSQL 16.4, 15.8, 14.13, 13.16, and 12.20 are affected.

    • Update to 16.4-r0
    Published Updated
  6. CVE-2024-0985

    High · CVSS 8EPSS 1.23%Fix available

    PostgreSQL non-owner REFRESH MATERIALIZED VIEW CONCURRENTLY executes arbitrary SQL

    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 materialized views. The victim is a superuser or member of one of the attacker's roles. The attack requires luring the victim into running REFRESH MATERIALIZED VIEW CONCURRENTLY on the attacker's materialized view. Versions before PostgreSQL 16.2, 15.6, 14.11, 13.14, and 12.18 are affected.

    • Update to 16.2-r0
    Published Updated
  7. CVE-2023-5870

    Low · CVSS 2.2EPSS 1.8%Fix available

    Postgresql: role pg_signal_backend can signal certain superuser processes.

    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 background worker and would affect that specific background worker only. This issue may allow a remote high privileged user to launch a denial of service (DoS) attack.

    • Update to 16.1-r0
    Published Updated
  8. CVE-2023-5868

    Medium · CVSS 4.3EPSS 1.9%Fix available

    Postgresql: memory disclosure in aggregate function calls

    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 disclose bytes, potentially revealing notable and confidential information. This issue exists due to excessive data output in aggregate function calls, enabling remote users to read some portion of system memory.

    • Update to 16.1-r0
    Published Updated
  9. CVE-2023-5869

    High · CVSS 8.8EPSS 3.24%Fix available

    Postgresql: buffer overrun from integer overflow in array modification

    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 overflow by providing specially crafted data. This enables the execution of arbitrary code on the target system, allowing users to write arbitrary bytes to memory and extensively read the server's memory.

    • Update to 16.1-r0
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →