CVE Database›Document archive›CVE-2018-1058

CVE-2018-1058

postgresql: Uncontrolled search path element in pg_dump and other client applications

Loading…

Severity

Moderate

Red Hat Product Security

8.8

CVSS 3.0

Review impact separately from score.

Published · March 1, 2018

Updated · August 5, 2026

Description

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.

Statement

This issue affects the versions of Postgresql as shipped with Red Hat Satellite 5. Red Hat Product Security has rated this issue as having security impact of Low. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Upstream suggests the following mitigation can be used to protect against this security flaw: https://wiki.postgresql.org/wiki/A_Guide_to_CVE-2018-1058:_Protect_Your_Search_Path

CVSS / CWE

CVSS 3.0 · 8.8
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CWE-20 · Improper Input Validation