Live threats

All CVEs / Postgresql

CVE-2007-2138Postgresql

Medium 6.0

Priority
36
CVSS 2.0
6.0
EPSS
3.9%
probability of exploitation in 30 days · percentile 91
Auth required
Yes
Published
Apr 24, 2007
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-264
Vector
AV:N/AC:M/Au:S/C:P/I:P/A:P

What happens

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."

Original NVD text.

What to do

  1. Apply the vendor's security update for Postgresql.

Affected products (CPE)

VendorProductVersions
postgresqlpostgresql< 7.3.19
postgresqlpostgresql≥ 7.4 < 7.4.17
postgresqlpostgresql≥ 8.0 < 8.0.13
postgresqlpostgresql≥ 8.1 < 8.1.9
postgresqlpostgresql≥ 8.2 < 8.2.4
debiandebian_linux3.1
debiandebian_linux4.0
canonicalubuntu_linux6.06
canonicalubuntu_linux6.10
canonicalubuntu_linux7.04

Official sources

References

Links published by the sources. Open them with care.