CVE-2007-2138
MEDIUM 6.0CVSS 2.0Untrusted 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."
- Published
- 24 Apr 2007
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-264
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.0 | AV:N/AC:M/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | postgresql | postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
< 7.3.19 | 7.3.19 |
| NVD | postgresql | postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
>= 7.4, < 7.4.17 | 7.4.17 |
| NVD | postgresql | postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
>= 8.0, < 8.0.13 | 8.0.13 |
| NVD | postgresql | postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
>= 8.1, < 8.1.9 | 8.1.9 |
| NVD | postgresql | postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
>= 8.2, < 8.2.4 | 8.2.4 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:3.1:*:*:*:*:*:*:* |
= 3.1 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:* |
= 4.0 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:lts:*:*:* |
= 6.06 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:6.10:*:*:*:*:*:*:* |
= 6.10 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:* |
= 7.04 |
References
- http://rhn.redhat.com/errata/RHSA-2007-0336.html · Third Party Advisory
- http://secunia.com/advisories/24989 · Third Party Advisory
- http://secunia.com/advisories/24999 · Third Party Advisory
- http://secunia.com/advisories/25005 · Third Party Advisory
- http://secunia.com/advisories/25019 · Third Party Advisory
- http://secunia.com/advisories/25037 · Third Party Advisory
- http://secunia.com/advisories/25058 · Third Party Advisory
- http://secunia.com/advisories/25184 · Third Party Advisory
- http://secunia.com/advisories/25238 · Third Party Advisory
- http://secunia.com/advisories/25334 · Third Party Advisory
- http://secunia.com/advisories/25717 · Third Party Advisory
- http://secunia.com/advisories/25720 · Third Party Advisory
- http://secunia.com/advisories/25725 · Third Party Advisory
- http://security.gentoo.org/glsa/glsa-200705-12.xml · Third Party Advisory
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-102894-1 · Broken Link
- http://support.avaya.com/elmodocs2/security/ASA-2007-190.htm · Third Party Advisory
- http://www.debian.org/security/2007/dsa-1309 · Third Party Advisory
- http://www.debian.org/security/2007/dsa-1311 · Third Party Advisory
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:094 · Third Party Advisory
- http://www.postgresql.org/about/news.791 · Patch, Vendor Advisory
- http://www.postgresql.org/support/security.html · Patch, Vendor Advisory
- http://www.redhat.com/support/errata/RHSA-2007-0337.html · Third Party Advisory
- http://www.securityfocus.com/bid/23618 · Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id?1017974 · Third Party Advisory, VDB Entry
- http://www.trustix.org/errata/2007/0015/ · Broken Link
- http://www.ubuntu.com/usn/usn-454-1 · Third Party Advisory
- http://www.vupen.com/english/advisories/2007/1497 · Third Party Advisory
- http://www.vupen.com/english/advisories/2007/1549 · Third Party Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/33842 · Third Party Advisory, VDB Entry
- https://issues.rpath.com/browse/RPL-1292 · Broken Link
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10090 · Third Party Advisory
History
- 25 Nov 2026 20:13 UTC · NVD: first stored (published 24 Apr 2007)