Advisory

UBUNTU-CVE-2022-2625

Also known as: CVE-2022-2625

Summary

The record has no summary.

Details

A vulnerability was found in PostgreSQL. This attack requires permission to create non-temporary objects in at least one schema, the ability to lure or wait for an administrator to create or update an affected extension in that schema, and the ability to lure or wait for a victim to use the object targeted in CREATE OR REPLACE or CREATE IF NOT EXISTS. Given all three prerequisites, this flaw allows an attacker to run arbitrary code as the victim role, which may be a superuser.

Severity

High Basis: CVSS v3 score 8, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2022-08-15 00:00 UTC
Modified
2026-04-22 13:20 UTC

Affected packages and fixes

postgresql-10

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 10.22-0ubuntu0.18.04.1 (ecosystem)

Fixed versions

10.22-0ubuntu0.18.04.1

Fix

  • Fixed version 10.22-0ubuntu0.18.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

postgresql-12

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 12.12-0ubuntu0.20.04.1 (ecosystem)

Fixed versions

12.12-0ubuntu0.20.04.1

Fix

  • Fixed version 12.12-0ubuntu0.20.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

postgresql-14

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 14.5-0ubuntu0.22.04.1 (ecosystem)

Fixed versions

14.5-0ubuntu0.22.04.1

Fix

  • Fixed version 14.5-0ubuntu0.22.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences