CVE-2024-10978

Publication date 14 November 2024

Last updated 2 December 2024


Ubuntu priority

Incorrect privilege assignment in PostgreSQL allows a less-privileged application user to view or change different rows from those intended. An attack requires the application to use SET ROLE, SET SESSION AUTHORIZATION, or an equivalent feature. The problem arises when an application query uses parameters from the attacker or conveys query results to the attacker. If that query reacts to current_setting('role') or the current user ID, it may modify or return data as though the session had not used SET ROLE or SET SESSION AUTHORIZATION. The attacker does not control which incorrect user ID applies. Query text from less-privileged sources is not a concern here, because SET ROLE and SET SESSION AUTHORIZATION are not sandboxes for unvetted queries. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.

Read the notes from the security team

Status

Package Ubuntu Release Status
postgresql-10 24.10 oracular Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
18.04 LTS bionic
Needs evaluation
postgresql-12 24.10 oracular Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal
Fixed 12.22-0ubuntu0.20.04.1
postgresql-14 24.10 oracular Not in release
24.04 LTS noble Not in release
22.04 LTS jammy
Fixed 14.15-0ubuntu0.22.04.1
20.04 LTS focal Not in release
postgresql-16 24.10 oracular
Fixed 16.6-0ubuntu0.24.10.1
24.04 LTS noble
Fixed 16.6-0ubuntu0.24.04.1
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
postgresql-9.1 24.10 oracular Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
postgresql-9.3 24.10 oracular Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
14.04 LTS trusty
Vulnerable, fix deferred
postgresql-9.5 24.10 oracular Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
16.04 LTS xenial
Needs evaluation

Notes


leosilva

PostgreSQL 9.3 is end of life upstream, and no updates are are available. Marking as deferred in -esm-main releases.

References

Related Ubuntu Security Notices (USN)

    • USN-7132-1
    • PostgreSQL vulnerabilities
    • 2 December 2024

Other references