Permissions, Privileges, and Access Controls in PostgreSQL - CVE-2010-3433
Published: September 19, 2017 / Updated: June 23, 2025
Vulnerability details
The vulnerability allows a remote user to read and manipulate data.
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.
Affected software
Gentoo Linux
Debian Linux
Ubuntu
postgresql-pltcl-8.1 (Ubuntu package)
postgresql-plperl-8.1 (Ubuntu package)
postgresql-pltcl-8.3 (Ubuntu package)
postgresql-plperl-8.3 (Ubuntu package)
postgresql-8.3 (Debian package)
postgresql-plperl-8.4 (Ubuntu package)
postgresql-pltcl-8.4 (Ubuntu package)
dev-db/postgresql
dev-db/postgresql-server
How to mitigate CVE-2010-3433
postgresql-pltcl-8.1 (Ubuntu package) - update to 8.1.22-0ubuntu0.6.06
postgresql-plperl-8.1 (Ubuntu package) - update to 8.1.22-0ubuntu0.6.06
postgresql-pltcl-8.3 (Ubuntu package) - addressed in versions 8.3.12-0ubuntu8.04, 8.3.12-0ubuntu9.04
postgresql-plperl-8.3 (Ubuntu package) - addressed in versions 8.3.12-0ubuntu8.04, 8.3.12-0ubuntu9.04
postgresql-8.3 (Debian package) - update to 8.3.12-0lenny1
postgresql-plperl-8.4 (Ubuntu package) - addressed in versions 8.4.5-0ubuntu9.10, 8.4.5-0ubuntu10.04, 8.4.5-0ubuntu10.10
postgresql-pltcl-8.4 (Ubuntu package) - addressed in versions 8.4.5-0ubuntu9.10, 8.4.5-0ubuntu10.04, 8.4.5-0ubuntu10.10
dev-db/postgresql - update to 9.0.5
dev-db/postgresql-server - update to 9.0.5
External References
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
- http://lists.fedoraproject.org/pipermail/package-announce/2010-October/049591.html
- http://lists.fedoraproject.org/pipermail/package-announce/2010-October/049592.html
- http://lists.opensuse.org/opensuse-security-announce/2010-10/msg00006.html
- http://lists.opensuse.org/opensuse-security-announce/2010-11/msg00001.html
- http://marc.info/?l=bugtraq&m=134124585221119&w=2
- http://secunia.com/advisories/42325
- http://www.debian.org/security/2010/dsa-2120
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:197
- http://www.postgresql.org/about/news.1244
- http://www.postgresql.org/docs/9.0/static/release-9-0-1.html
- http://www.redhat.com/support/errata/RHSA-2010-0742.html
- http://www.redhat.com/support/errata/RHSA-2010-0908.html
- http://www.securityfocus.com/bid/43747
- http://www.ubuntu.com/usn/USN-1002-1
- http://www.ubuntu.com/usn/USN-1002-2
- http://www.vupen.com/english/advisories/2010/3051
- https://bugzilla.redhat.com/show_bug.cgi?id=639371
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7291