Ubuntu Security Notice 7132-1 - It was discovered that PostgreSQL incorrectly tracked tables with row security. A remote attacker could possibly use this issue to perform forbidden reads and modifications. Jacob Champion discovered that PostgreSQL clients used untrusted server error messages. An attacker that is able to intercept network communications could possibly use this issue to inject error messages that could be interpreted as valid query results.
d00c03ccbecd2d2eb28f46b3677b99e8cd0c8f6e7b0fcab8101b9d0f61d0f6c6
==========================================================================
Ubuntu Security Notice USN-7132-1
December 02, 2024
postgresql-12, postgresql-14, postgresql-16 vulnerabilities
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 24.10
- Ubuntu 24.04 LTS
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
Summary:
Several security issues were fixed in PostgreSQL.
Software Description:
- postgresql-16: Object-relational SQL database
- postgresql-14: Object-relational SQL database
- postgresql-12: Object-relational SQL database
Details:
It was discovered that PostgreSQL incorrectly tracked tables with row
security. A remote attacker could possibly use this issue to perform
forbidden reads and modifications. (CVE-2024-10976)
Jacob Champion discovered that PostgreSQL clients used untrusted server
error messages. An attacker that is able to intercept network
communications could possibly use this issue to inject error messages that
could be interpreted as valid query results. (CVE-2024-10977)
Tom Lane discovered that PostgreSQL incorrectly handled certain privilege
assignments. A remote attacker could possibly use this issue to view or
change different rows from those intended. (CVE-2024-10978)
Coby Abrams discovered that PostgreSQL incorrectly handled environment
variables. A remote attacker could possibly use this issue to execute
arbitrary code. (CVE-2024-10979)
Update instructions:
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 24.10
postgresql-16 16.6-0ubuntu0.24.10.1
postgresql-client-16 16.6-0ubuntu0.24.10.1
Ubuntu 24.04 LTS
postgresql-16 16.6-0ubuntu0.24.04.1
postgresql-client-16 16.6-0ubuntu0.24.04.1
Ubuntu 22.04 LTS
postgresql-14 14.15-0ubuntu0.22.04.1
postgresql-client-14 14.15-0ubuntu0.22.04.1
Ubuntu 20.04 LTS
postgresql-12 12.22-0ubuntu0.20.04.1
postgresql-client-12 12.22-0ubuntu0.20.04.1
This update uses a new upstream release, which includes additional bug
fixes. After a standard system update you need to restart PostgreSQL to
make all the necessary changes.
References:
https://ubuntu.com/security/notices/USN-7132-1
CVE-2024-10976, CVE-2024-10977, CVE-2024-10978, CVE-2024-10979
Package Information:
https://launchpad.net/ubuntu/+source/postgresql-16/16.6-0ubuntu0.24.10.1
https://launchpad.net/ubuntu/+source/postgresql-16/16.6-0ubuntu0.24.04.1
https://launchpad.net/ubuntu/+source/postgresql-14/14.15-0ubuntu0.22.04.1
https://launchpad.net/ubuntu/+source/postgresql-12/12.22-0ubuntu0.20.04.1