Advisory

UBUNTU-CVE-2018-10925

Also known as: CVE-2018-10925

Summary

The record has no summary.

Details

It was discovered that PostgreSQL versions before 10.5, 9.6.10, 9.5.14, 9.4.19, and 9.3.24 failed to properly check authorization on certain statements involved with "INSERT ... ON CONFLICT DO UPDATE". An attacker with "CREATE TABLE" privileges could exploit this to read arbitrary bytes server memory. If the attacker also had certain "INSERT" and limited "UPDATE" privileges to a particular table, they could exploit this to update other columns in the same table.

Severity

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

Dates

Published
2018-08-09 00:00 UTC
Modified
2026-04-22 11:41 UTC

Affected packages and fixes

postgresql-9.5

Debian packages (deb) · Ubuntu 16.04

Affected

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

Fixed versions

9.5.14-0ubuntu0.16.04

Fix

  • Fixed version 9.5.14-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.5-0ubuntu0.18.04 (ecosystem)

Fixed versions

10.5-0ubuntu0.18.04

Fix

  • Fixed version 10.5-0ubuntu0.18.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.

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