Advisory

UBUNTU-CVE-2018-1058

Also known as: CVE-2018-1058

Summary

The record has no summary.

Details

A flaw was found in the way Postgresql allowed a user to modify the behavior of a query for other users. An attacker with a user account could use this flaw to execute code with the permissions of superuser in the database. Versions 9.3 through 10 are affected.

Severity

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

Dates

Published
2018-02-28 00:00 UTC
Modified
2026-04-22 11:40 UTC

Affected packages and fixes

postgresql-9.3

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 9.3.22-0ubuntu0.14.04 (ecosystem)

Fixed versions

9.3.22-0ubuntu0.14.04

Fix

  • Fixed version 9.3.22-0ubuntu0.14.04
    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-9.5

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 9.5.12-0ubuntu0.16.04 (ecosystem)

Fixed versions

9.5.12-0ubuntu0.16.04

Fix

  • Fixed version 9.5.12-0ubuntu0.16.04
    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-10

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 10.3-1 (ecosystem)

Fixed versions

10.3-1

Fix

  • Fixed version 10.3-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