Vulnerability record · OpenEuler 22.03-LTS-SP1
An update for postgresql is now available for openEuler-22.03-LTS-SP1
OpenEuler 22.03-LTS-SP1
What it fixes
Synopsis:
postgresql security updateSummary:
An update for postgresql is now available for openEuler-22.03-LTS-SP1Description:
PostgreSQL is an advanced Object-Relational database management system (DBMS). The base postgresql package contains the client programs that you'll need to access a PostgreSQL DBMS server, as well as HTML documentation for the whole system. These client programs can be located on the same machine as the PostgreSQL server, or on a remote machine that accesses a PostgreSQL server over a network connection. The PostgreSQL server can be found in the postgresql-server sub-package.
Security Fix(es):PostgreSQL is an advanced Object-Relational database management system (DBMS). The base postgresql package contains the client programs that you'll need to access a PostgreSQL DBMS server, as well as HTML documentation for the whole system. These client programs can be located on the same machine as the PostgreSQL server, or on a remote machine that accesses a PostgreSQL server over a network connection. The PostgreSQL server can be found in the postgresql-server sub-package.
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 scenario can happen under security definer functions or when a common user and query is planned initially and then re-used across multiple SET ROLEs. Applying an incorrect policy may permit a user to complete otherwise-forbidden…
Manual fix · OpenEuler 22.03-LTS-SP1
sudo dnf upgrade postgresql postgresql-contrib postgresql-docs postgresql-llvmjit postgresql-plperl postgresql-plpython3 …rpm -q postgresql postgresql-contrib postgresql-docs postgresql-llvmjit postgresql-plperl postgresql-plpython3 …Sources