Severity
8.8HIGH
EPSS
82.7%
top 0.76%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 2
Latest updateMay 13

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. Versions 9.3 through 10 are affected.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 2.8 | Impact: 5.9

Affected Packages7 packages

NVDpostgresql/postgresql9.39.3.22+4
Alpinepostgresql< 10.3-r0+10
Alpinepostgresql14< 10.3-r0+3
Alpinepostgresql15< 10.3-r0+3
CVEListV5postgresqlPostgreSQL versions before 12.4, before 11.9 and before 10.14

Also affects: Ubuntu Linux 14.04, 16.04, 17.10

🔴Vulnerability Details

3
GHSA
GHSA-wj3f-f94q-2r98: A flaw was found in the way Postgresql allowed a user to modify the behavior of a query for other users2022-05-13
CVEList
CVE-2018-1058: A flaw was found in the way Postgresql allowed a user to modify the behavior of a query for other users2018-03-02
OSV
CVE-2018-1058: A flaw was found in the way Postgresql allowed a user to modify the behavior of a query for other users2018-03-02

📋Vendor Advisories

4
Red Hat
postgresql: Uncontrolled search path element in logical replication2020-08-13
Microsoft
It was found that PostgreSQL versions before 12.4 before 11.9 and before 10.14 did not properly sanitize the search_path during logical replication. An authenticated attacker could use this flaw in an2020-08-11
Ubuntu
PostgreSQL vulnerability2018-03-06
Red Hat
postgresql: Uncontrolled search path element in pg_dump and other client applications2018-03-01

💬Community

5
Bugzilla
CVE-2020-14349 postgresql: Uncontrolled search path element in logical replication2020-08-04
Bugzilla
CVE-2018-1058 postgresql: Uncontrolled search path element in pg_dump and other client applications [fedora-all]2018-03-02
Bugzilla
CVE-2018-1058 mingw-postgresql: postgresql: Uncontrolled search path element in pg_dump and other client applications [fedora-all]2018-03-02
Bugzilla
CVE-2018-1058 mingw-postgresql: postgresql: Uncontrolled search path element in pg_dump and other client applications [epel-7]2018-03-02
Bugzilla
CVE-2018-1058 postgresql: Uncontrolled search path element in pg_dump and other client applications2018-02-20
CVE-2018-1058 (HIGH CVSS 8.8) | A flaw was found in the way Postgre | cvebase.io