Skip to content
OpenAdvisories
High ALAS2-2024-2462 2 CVEs

Important: postgresql security update (Amazon Linux 2)

Published Feb 15, 2024 · Updated Feb 26, 2025

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

ReleasePackageFixed 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

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2023-2454.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2023-2455.html