Summary
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2023-2455: While CVE-2016-2193 fixed most interaction between row security and user ID changes, it missed a scenario involving function inlining. This 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 reads and modifications. This affects only databases that have used CREATE POLICY to define a row security policy. CVE-2023-2454: This enabled an attacker having database-level CREATE privilege to execute arbitrary code as the bootstrap superuser. Database owners have that right by default, and explicit grants may extend it to other users.
Fixed packages 13
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2 | postgresql | 0:9.2.24-8.amzn2.0.2 |
| Amazon Linux · 2 | postgresql-contrib | 0:9.2.24-8.amzn2.0.2 |
| Amazon Linux · 2 | postgresql-debuginfo | 0:9.2.24-8.amzn2.0.2 |
| Amazon Linux · 2 | postgresql-devel | 0:9.2.24-8.amzn2.0.2 |
| Amazon Linux · 2 | postgresql-docs | 0:9.2.24-8.amzn2.0.2 |
| Amazon Linux · 2 | postgresql-libs | 0:9.2.24-8.amzn2.0.2 |
| Amazon Linux · 2 | postgresql-plperl | 0:9.2.24-8.amzn2.0.2 |
| Amazon Linux · 2 | postgresql-plpython | 0:9.2.24-8.amzn2.0.2 |
| Amazon Linux · 2 | postgresql-pltcl | 0:9.2.24-8.amzn2.0.2 |
| Amazon Linux · 2 | postgresql-server | 0:9.2.24-8.amzn2.0.2 |
| Amazon Linux · 2 | postgresql-static | 0:9.2.24-8.amzn2.0.2 |
| Amazon Linux · 2 | postgresql-test | 0:9.2.24-8.amzn2.0.2 |
| Amazon Linux · 2 | postgresql-upgrade | 0:9.2.24-8.amzn2.0.2 |
Vulnerabilities 2
-
High 7.2
schema_element defeats protective search_path changes; It was found that certain database calls in PostgreSQL could per…
-
Medium 5.4
Row security policies disregard user ID changes after inlining; PostgreSQL could permit incorrect policies to be applie…