USN-7315-2: PostgreSQL vulnerability
Publication date
30 April 2025
Overview
PostgreSQL could be made to execute arbitrary code if it received specially crafted input.
Releases
Packages
- postgresql-10 - Object-relational SQL database
Details
USN-7315-1 fixed a vulnerability in PostgreSQL. This update provides the
corresponding update for Ubuntu 18.04 LTS.
Original advisory details:
Stephen Fewer discovered that PostgreSQL incorrectly handled quoting
syntax in certain scenarios. A remote attacker could possibly use this
issue to perform SQL injection attacks.
USN-7315-1 fixed a vulnerability in PostgreSQL. This update provides the
corresponding update for Ubuntu 18.04 LTS.
Original advisory details:
Stephen Fewer discovered that PostgreSQL incorrectly handled quoting
syntax in certain scenarios. A remote attacker could possibly use this
issue to perform SQL injection attacks.
Update instructions
After a standard system update you need to restart PostgreSQL to make all the necessary changes.
Learn more about how to get the fixes.The problem can be corrected by updating your system to the following package versions:
Ubuntu Release | Package Version | ||
---|---|---|---|
18.04 bionic | postgresql-10 – 10.23-0ubuntu0.18.04.2+esm3 | ||
postgresql-client-10 – 10.23-0ubuntu0.18.04.2+esm3 |
Reduce your security exposure
Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.