CVE-2007-2138

Severity CVSS v4.0:
Pending analysis
Type:
CWE-264 Permissions, Privileges, and Access Control
Publication date:
24/04/2007
Last modified:
09/04/2025

Description

Untrusted search path vulnerability in PostgreSQL before 7.3.19, 7.4.x before 7.4.17, 8.0.x before 8.0.13, 8.1.x before 8.1.9, and 8.2.x before 8.2.4 allows remote authenticated users, when permitted to call a SECURITY DEFINER function, to gain the privileges of the function owner, related to "search_path settings."

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* 7.3.19 (excluding)
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* 7.4 (including) 7.4.17 (excluding)
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* 8.0 (including) 8.0.13 (excluding)
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* 8.1 (including) 8.1.9 (excluding)
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* 8.2 (including) 8.2.4 (excluding)
cpe:2.3:o:debian:debian_linux:3.1:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:6.10:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:*


References to Advisories, Solutions, and Tools