Skip to content
OpenAdvisories
High ALAS2-2025-2733 1 CVE

Important: postgresql security update (Amazon Linux 2)

Published Jan 21, 2025 · Updated Jan 24, 2025

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2024-7348: 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.

Fixed packages 13

ReleasePackageFixed in
Amazon Linux · 2 postgresql 0:9.2.24-8.amzn2.0.4
Amazon Linux · 2 postgresql-contrib 0:9.2.24-8.amzn2.0.4
Amazon Linux · 2 postgresql-debuginfo 0:9.2.24-8.amzn2.0.4
Amazon Linux · 2 postgresql-devel 0:9.2.24-8.amzn2.0.4
Amazon Linux · 2 postgresql-docs 0:9.2.24-8.amzn2.0.4
Amazon Linux · 2 postgresql-libs 0:9.2.24-8.amzn2.0.4
Amazon Linux · 2 postgresql-plperl 0:9.2.24-8.amzn2.0.4
Amazon Linux · 2 postgresql-plpython 0:9.2.24-8.amzn2.0.4
Amazon Linux · 2 postgresql-pltcl 0:9.2.24-8.amzn2.0.4
Amazon Linux · 2 postgresql-server 0:9.2.24-8.amzn2.0.4
Amazon Linux · 2 postgresql-static 0:9.2.24-8.amzn2.0.4
Amazon Linux · 2 postgresql-test 0:9.2.24-8.amzn2.0.4
Amazon Linux · 2 postgresql-upgrade 0:9.2.24-8.amzn2.0.4

Vulnerabilities 1

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-7348.html