CVE-2024-10979

Publication date 14 November 2024

Last updated 19 March 2025


Ubuntu priority

Cvss 3 Severity Score

8.8 · High

Score breakdown

Incorrect control of environment variables in PostgreSQL PL/Perl allows an unprivileged database user to change sensitive process environment variables (e.g. PATH). That often suffices to enable arbitrary code execution, even if the attacker lacks a database server operating system user. 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-17 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.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 Ignored end of ESM support, was deferred [2019-08-23]
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

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro

Notes


leosilva

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


mdeslaur

postgresql-16 will be removed from plucky, marking as ignored

Severity score breakdown

Parameter Value
Base score 8.8 · High
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References

Related Ubuntu Security Notices (USN)

    • USN-7132-1
    • PostgreSQL vulnerabilities
    • 2 December 2024
    • USN-7358-1
    • PostgreSQL vulnerabilities
    • 19 March 2025

Other references