Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2007-2138

published

PostgreSQL security-definer function privilege escalation

Title from Red Hat VEX

Published
24 Apr 2007, 20:00:00 UTC
Updated
07 Aug 2024, 13:23:50 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre
Debian etch postgresql-7.4 Advisory build 1:7.4.17-0etch1 DSA-1311-1
Red Hat Enterprise Linux RHEL-3 rh-postgresqli386 Advisory build 7.3.19-1 RHSA-2007:0336
Debian etch postgresql-8.1 Advisory build 8.1.9-0etch1 DSA-1309-1
Debian sarge postgresql Advisory build 7.4.7-6sarge5 DSA-1311-1
Red Hat Enterprise Linux RHEL-3 rh-postgresqlia64 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresqlppc Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresqls390 Advisory build 7.3.19-1 RHSA-2007:0336
Show 93 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-3 rh-postgresqls390x Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresqlsrc Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresqlx86_64 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-contribi386 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-contribia64 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-contribppc Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-contribs390 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-contribs390x Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-contribx86_64 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-debuginfoi386 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-debuginfoia64 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-debuginfoppc Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-debuginfoppc64 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-debuginfos390 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-debuginfos390x Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-debuginfox86_64 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-develi386 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-develia64 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-develppc Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-devels390 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-devels390x Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-develx86_64 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-docsi386 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-docsia64 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-docsppc Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-docss390 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-docss390x Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-docsx86_64 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-jdbci386 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-jdbcia64 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-jdbcppc Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-jdbcs390 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-jdbcs390x Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-jdbcx86_64 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-libsi386 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-libsia64 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-libsppc Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-libsppc64 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-libss390 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-libss390x Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-libsx86_64 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-pli386 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-plia64 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-plppc Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-pls390 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-pls390x Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-plx86_64 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-pythoni386 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-pythonia64 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-pythonppc Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-pythons390 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-pythons390x Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-pythonx86_64 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-serveri386 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-serveria64 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-serverppc Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-servers390 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-servers390x Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-serverx86_64 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-tcli386 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-tclia64 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-tclppc Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-tcls390 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-tcls390x Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-tclx86_64 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-testi386 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-testia64 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-testppc Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-tests390 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-tests390x Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-3 rh-postgresql-testx86_64 Advisory build 7.3.19-1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-4 postgresqli386 Advisory build 7.4.17-1.RHEL4.1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-4 postgresqlia64 Advisory build 7.4.17-1.RHEL4.1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-4 postgresqlppc Advisory build 7.4.17-1.RHEL4.1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-4 postgresqls390 Advisory build 7.4.17-1.RHEL4.1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-4 postgresqls390x Advisory build 7.4.17-1.RHEL4.1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-4 postgresqlsrc Advisory build 7.4.17-1.RHEL4.1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-4 postgresqlx86_64 Advisory build 7.4.17-1.RHEL4.1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-4 postgresql-contribi386 Advisory build 7.4.17-1.RHEL4.1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-4 postgresql-contribia64 Advisory build 7.4.17-1.RHEL4.1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-4 postgresql-contribppc Advisory build 7.4.17-1.RHEL4.1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-4 postgresql-contribs390 Advisory build 7.4.17-1.RHEL4.1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-4 postgresql-contribs390x Advisory build 7.4.17-1.RHEL4.1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-4 postgresql-contribx86_64 Advisory build 7.4.17-1.RHEL4.1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-4 postgresql-debuginfoi386 Advisory build 7.4.17-1.RHEL4.1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-4 postgresql-debuginfoia64 Advisory build 7.4.17-1.RHEL4.1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-4 postgresql-debuginfoppc Advisory build 7.4.17-1.RHEL4.1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-4 postgresql-debuginfoppc64 Advisory build 7.4.17-1.RHEL4.1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-4 postgresql-debuginfos390 Advisory build 7.4.17-1.RHEL4.1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-4 postgresql-debuginfos390x Advisory build 7.4.17-1.RHEL4.1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-4 postgresql-debuginfox86_64 Advisory build 7.4.17-1.RHEL4.1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-4 postgresql-develi386 Advisory build 7.4.17-1.RHEL4.1 RHSA-2007:0336
Red Hat Enterprise Linux RHEL-4 postgresql-develia64 Advisory build 7.4.17-1.RHEL4.1 RHSA-2007:0336

Package entries are limited to the first 100 builds and 100 linked advisories.

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

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

6

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

31
  • RHSA-2007:0336 http://rhn.redhat.com/errata/RHSA-2007-0336.html vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: mitre (cna), CVE (adp)
  • 24989 http://secunia.com/advisories/24989 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 24999 http://secunia.com/advisories/24999 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 25005 http://secunia.com/advisories/25005 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 25019 http://secunia.com/advisories/25019 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 25037 http://secunia.com/advisories/25037 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 25058 http://secunia.com/advisories/25058 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 25184 http://secunia.com/advisories/25184 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 25238 http://secunia.com/advisories/25238 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 25334 http://secunia.com/advisories/25334 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 25717 http://secunia.com/advisories/25717 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 25720 http://secunia.com/advisories/25720 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 25725 http://secunia.com/advisories/25725 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • GLSA-200705-12 http://security.gentoo.org/glsa/glsa-200705-12.xml vendor-advisory, x_refsource_GENTOO, x_transferred Contributors: mitre (cna), CVE (adp)
  • 102894 http://sunsolve.sun.com/search/document.do?assetkey=1-26-102894-1 vendor-advisory, x_refsource_SUNALERT, x_transferred Contributors: mitre (cna), CVE (adp)
  • http://support.avaya.com/elmodocs2/security/ASA-2007-190.htm x_refsource_CONFIRM, x_transferred Contributors: mitre (cna), CVE (adp)
  • DSA-1309 http://www.debian.org/security/2007/dsa-1309 vendor-advisory, x_refsource_DEBIAN, x_transferred Contributors: mitre (cna), CVE (adp)
  • DSA-1311 http://www.debian.org/security/2007/dsa-1311 vendor-advisory, x_refsource_DEBIAN, x_transferred Contributors: mitre (cna), CVE (adp)
  • MDKSA-2007:094 http://www.mandriva.com/security/advisories?name=MDKSA-2007:094 vendor-advisory, x_refsource_MANDRIVA, x_transferred Contributors: mitre (cna), CVE (adp)
  • http://www.postgresql.org/about/news.791 x_refsource_CONFIRM, x_transferred Contributors: mitre (cna), CVE (adp)
  • http://www.postgresql.org/support/security.html x_refsource_CONFIRM, x_transferred Contributors: mitre (cna), CVE (adp)
  • RHSA-2007:0337 http://www.redhat.com/support/errata/RHSA-2007-0337.html vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: mitre (cna), CVE (adp)
  • 23618 http://www.securityfocus.com/bid/23618 vdb-entry, x_refsource_BID, x_transferred Contributors: mitre (cna), CVE (adp)
  • 1017974 http://www.securitytracker.com/id?1017974 vdb-entry, x_refsource_SECTRACK, x_transferred Contributors: mitre (cna), CVE (adp)
  • 2007-0015 http://www.trustix.org/errata/2007/0015/ vendor-advisory, x_refsource_TRUSTIX, x_transferred Contributors: mitre (cna), CVE (adp)
  • USN-454-1 http://www.ubuntu.com/usn/usn-454-1 vendor-advisory, x_refsource_UBUNTU, x_transferred Contributors: mitre (cna), CVE (adp)
  • ADV-2007-1497 http://www.vupen.com/english/advisories/2007/1497 vdb-entry, x_refsource_VUPEN, x_transferred Contributors: mitre (cna), CVE (adp)
  • ADV-2007-1549 http://www.vupen.com/english/advisories/2007/1549 vdb-entry, x_refsource_VUPEN, x_transferred Contributors: mitre (cna), CVE (adp)
  • postgresql-searchpath-privilege-escalation(33842) https://exchange.xforce.ibmcloud.com/vulnerabilities/33842 vdb-entry, x_refsource_XF, x_transferred Contributors: mitre (cna), CVE (adp)
  • https://issues.rpath.com/browse/RPL-1292 x_refsource_CONFIRM, x_transferred Contributors: mitre (cna), CVE (adp)
  • oval:org.mitre.oval:def:10090 https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10090 vdb-entry, signature, x_refsource_OVAL, x_transferred Contributors: mitre (cna), CVE (adp)

Provider assertions

2

mitre · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
ddb1b02534ba3da22611a9b325a7fb14f370a3efec3bade58301168de4be3410
Ingested
23 Sep 2026, 07:38:12 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected