In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade Amazon-Linux:2023 postgresql17-upgrade to version 0:17.8-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2026-1457.
Note: Versions mentioned in the description apply only to the upstream postgresql17-upgrade package and not the postgresql17-upgrade package as distributed by Amazon-Linux.
See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.
Missing validation of multibyte character length in PostgreSQL text manipulation allows a database user to issue crafted queries that achieve a buffer overrun. That suffices to execute arbitrary code as the operating system user running the database. Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.