UBUNTU-CVE-2024-0985

    Dashboard / Vulnerabilities / UBUNTU-CVE-2024-0985

    UBUNTU-CVE-2024-0985

    Published: 8 Feb 2024Last Modified: 22 Apr 2026

    Summary:

    Details: Late privilege drop in REFRESH MATERIALIZED VIEW CONCURRENTLY in PostgreSQL allows an object creator to execute arbitrary SQL functions as the command issuer. The command intends to run SQL functions as the owner of the materialized view, enabling safe refresh of untrusted materialized views. The victim is a superuser or member of one of the attacker's roles. The attack requires luring the victim into running REFRESH MATERIALIZED VIEW CONCURRENTLY on the attacker's materialized view. Versions before PostgreSQL 16.2, 15.6, 14.11, 13.14, and 12.18 are affected.

    Affected packages

    Package

    Name: postgresql-9.3

    Purl: pkg:deb/ubuntu/[email protected]+esm1?arch=source&distro=esm-infra-legacy/trusty

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    9.3.1-1
    9.3.2-1
    9.3.2-1ubuntu1
    9.3.2-1ubuntu2
    9.3.3-1
    9.3.3-1bzr1
    9.3.3-1bzr2
    9.3.4-1
    9.3.5-0ubuntu0.14.04.1
    9.3.6-0ubuntu0.14.04
    9.3.7-0ubuntu0.14.04
    9.3.8-0ubuntu0.4.04
    9.3.9-0ubuntu0.14.04
    9.3.10-0ubuntu0.14.04
    9.3.11-0ubuntu0.14.04
    9.3.12-0ubuntu0.14.04
    9.3.13-0ubuntu0.14.04
    9.3.14-0ubuntu0.14.04
    9.3.15-0ubuntu0.14.04
    9.3.16-0ubuntu0.14.04
    9.3.17-0ubuntu0.14.04
    9.3.18-0ubuntu0.14.04.1
    9.3.19-0ubuntu0.14.04
    9.3.20-0ubuntu0.14.04
    9.3.21-0ubuntu0.14.04
    9.3.22-0ubuntu0.14.04
    9.3.23-0ubuntu0.14.04
    9.3.24-0ubuntu0.14.04
    9.3.24-0ubuntu0.14.04+esm1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    UBUNTU-CVE-2024-0985 | CVE-DB