Advisory

UBUNTU-CVE-2018-10915

Also known as: CVE-2018-10915

Summary

The record has no summary.

Details

A vulnerability was found in libpq, the default PostgreSQL client library where libpq failed to properly reset its internal state between connections. If an affected version of libpq was used with "host" or "hostaddr" connection parameters from untrusted input, attackers could bypass client-side connection security features, obtain access to higher privileged connections or potentially cause other impact through SQL injection, by causing the PQescape() functions to malfunction. Postgresql versions before 10.5, 9.6.10, 9.5.14, 9.4.19, and 9.3.24 are affected.

Severity

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

Dates

Published
2018-08-09 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.24-0ubuntu0.14.04 (ecosystem)

Fixed versions

9.3.24-0ubuntu0.14.04

Fix

  • Fixed version 9.3.24-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.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