CVE-2010-3433
The PL/perl and PL/Tcl implementations in PostgreSQL 7.4 before 7.4.30, 8.0 before 8.0.26, 8.1 before 8.1.22, 8.2 before 8.2.18, 8.3 before 8.3.12, 8.4 before 8.4.5, and 9.0 before 9.0.1 do not properly protect script execution by a different SQL user identity within the same session, which allows remote authenticated users to gain privileges via crafted script code in a SECURITY DEFINER function, as demonstrated by (1) redefining standard functions or (2) redefining operators, a different vulnerability than CVE-2010-1168, CVE-2010-1169, CVE-2010-1170, and CVE-2010-1447.
What to do
Fixed builds are available from Red Hat: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 6 | postgresql | Fixed | 0:8.4.5-1.el6_0.2 | RHSA-2010:0908 |
| Red Hat Enterprise Linux 6 | postgresql-contrib | Fixed | 0:8.4.5-1.el6_0.2 | RHSA-2010:0908 |
| Red Hat Enterprise Linux 6 | postgresql-devel | Fixed | 0:8.4.5-1.el6_0.2 | RHSA-2010:0908 |
| Red Hat Enterprise Linux 6 | postgresql-docs | Fixed | 0:8.4.5-1.el6_0.2 | RHSA-2010:0908 |
| Red Hat Enterprise Linux 6 | postgresql-libs | Fixed | 0:8.4.5-1.el6_0.2 | RHSA-2010:0908 |
| Red Hat Enterprise Linux 6 | postgresql-plperl | Fixed | 0:8.4.5-1.el6_0.2 | RHSA-2010:0908 |
| Red Hat Enterprise Linux 6 | postgresql-plpython | Fixed | 0:8.4.5-1.el6_0.2 | RHSA-2010:0908 |
| Red Hat Enterprise Linux 6 | postgresql-pltcl | Fixed | 0:8.4.5-1.el6_0.2 | RHSA-2010:0908 |
| Red Hat Enterprise Linux 6 | postgresql-server | Fixed | 0:8.4.5-1.el6_0.2 | RHSA-2010:0908 |
| Red Hat Enterprise Linux 6 | postgresql-test | Fixed | 0:8.4.5-1.el6_0.2 | RHSA-2010:0908 |
| Red Hat Enterprise Linux 5 | postgresql | Fixed | 0:8.1.22-1.el5_5.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 5 | postgresql-contrib | Fixed | 0:8.1.22-1.el5_5.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 5 | postgresql-devel | Fixed | 0:8.1.22-1.el5_5.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 5 | postgresql-docs | Fixed | 0:8.1.22-1.el5_5.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 5 | postgresql-libs | Fixed | 0:8.1.22-1.el5_5.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 5 | postgresql-pl | Fixed | 0:8.1.22-1.el5_5.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 5 | postgresql-python | Fixed | 0:8.1.22-1.el5_5.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 5 | postgresql-server | Fixed | 0:8.1.22-1.el5_5.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 5 | postgresql-tcl | Fixed | 0:8.1.22-1.el5_5.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 5 | postgresql-test | Fixed | 0:8.1.22-1.el5_5.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 5 | postgresql84 | Fixed | 0:8.4.5-1.el5_5.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 5 | postgresql84-contrib | Fixed | 0:8.4.5-1.el5_5.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 5 | postgresql84-devel | Fixed | 0:8.4.5-1.el5_5.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 5 | postgresql84-docs | Fixed | 0:8.4.5-1.el5_5.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 5 | postgresql84-libs | Fixed | 0:8.4.5-1.el5_5.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 5 | postgresql84-plperl | Fixed | 0:8.4.5-1.el5_5.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 5 | postgresql84-plpython | Fixed | 0:8.4.5-1.el5_5.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 5 | postgresql84-pltcl | Fixed | 0:8.4.5-1.el5_5.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 5 | postgresql84-python | Fixed | 0:8.4.5-1.el5_5.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 5 | postgresql84-server | Fixed | 0:8.4.5-1.el5_5.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 5 | postgresql84-tcl | Fixed | 0:8.4.5-1.el5_5.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 5 | postgresql84-test | Fixed | 0:8.4.5-1.el5_5.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 4 | postgresql | Fixed | 0:7.4.30-1.el4_8.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 4 | postgresql-contrib | Fixed | 0:7.4.30-1.el4_8.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 4 | postgresql-devel | Fixed | 0:7.4.30-1.el4_8.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 4 | postgresql-docs | Fixed | 0:7.4.30-1.el4_8.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 4 | postgresql-jdbc | Fixed | 0:7.4.30-1.el4_8.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 4 | postgresql-libs | Fixed | 0:7.4.30-1.el4_8.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 4 | postgresql-pl | Fixed | 0:7.4.30-1.el4_8.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 4 | postgresql-python | Fixed | 0:7.4.30-1.el4_8.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 4 | postgresql-server | Fixed | 0:7.4.30-1.el4_8.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 4 | postgresql-tcl | Fixed | 0:7.4.30-1.el4_8.1 | RHSA-2010:0742 |
| Red Hat Enterprise Linux 4 | postgresql-test | Fixed | 0:7.4.30-1.el4_8.1 | RHSA-2010:0742 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://lists.fedoraproject.org/pipermail/package-announce/2010-October/049592.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2010-11/msg00001.html (vendor-advisory)
- http://marc.info/?l=bugtraq&m=134124585221119&w=2 (vendor-advisory)
- http://www.ubuntu.com/usn/USN-1002-2 (vendor-advisory)
- http://lists.fedoraproject.org/pipermail/package-announce/2010-October/049591.html (vendor-advisory)
- http://www.redhat.com/support/errata/RHSA-2010-0742.html (vendor-advisory)
References
- http://lists.fedoraproject.org/pipermail/package-announce/2010-October/049592.html
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7291
- http://lists.opensuse.org/opensuse-security-announce/2010-11/msg00001.html
- http://marc.info/?l=bugtraq&m=134124585221119&w=2
- http://www.ubuntu.com/usn/USN-1002-2
- https://bugzilla.redhat.com/show_bug.cgi?id=639371
- http://lists.fedoraproject.org/pipermail/package-announce/2010-October/049591.html
- http://www.vupen.com/english/advisories/2010/3051
- http://www.redhat.com/support/errata/RHSA-2010-0742.html
- http://www.postgresql.org/docs/9.0/static/release-9-0-1.html
- http://www.ubuntu.com/usn/USN-1002-1
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:197
- http://secunia.com/advisories/42325
- http://www.redhat.com/support/errata/RHSA-2010-0908.html
- http://www.debian.org/security/2010/dsa-2120
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.