Bug 583072 - (CVE-2010-1170) CVE-2010-1170 PostgreSQL: PL/Tcl Intended restriction bypass
CVE-2010-1170 PostgreSQL: PL/Tcl Intended restriction bypass
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
public=20100517,reported=20100415,sou...
: Security
Depends On: 586056 586057 586058 586059 586060 586061 589541 589543 593032 593033 636659 812237 812245
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-16 11:30 EDT by Jan Lieskovsky
Modified: 2015-07-29 09:49 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-06-21 03:31:12 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jan Lieskovsky 2010-04-16 11:30:03 EDT
A flaw was found in the way the PostgreSQL enforced permission
checks on scripts written in PL/Tcl. Once the PL/Tcl procedural
language was registered on particular database, a remote,
authenticated user, privileged to create databases, running a
specially-crafted PL/Tcl script, could use this flaw to bypass
intended PL/Tcl trusted mode restrictions, allowing them to run
arbitrary Tcl scripts with the privileges of the database server.

References:
  [1] PostgreSQL PL/Tcl procedural language manual page:
      http://www.postgresql.org/docs/8.1/interactive/pltcl.html
Comment 4 Jan Lieskovsky 2010-04-21 12:18:11 EDT
This is CVE-2010-1170.
Comment 11 Vincent Danen 2010-05-17 12:40:20 EDT
This is now public:

http://www.postgresql.org/support/security.html
Comment 14 Fedora Update System 2010-05-17 15:08:46 EDT
postgresql-8.4.4-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/postgresql-8.4.4-1.fc12
Comment 15 Fedora Update System 2010-05-17 15:08:56 EDT
postgresql-8.3.11-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/postgresql-8.3.11-1.fc11
Comment 16 Fedora Update System 2010-05-17 15:09:05 EDT
postgresql-8.4.4-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/postgresql-8.4.4-1.fc13
Comment 17 Fedora Update System 2010-05-18 17:45:05 EDT
postgresql-8.4.4-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 18 Fedora Update System 2010-05-18 17:53:30 EDT
postgresql-8.4.4-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 19 Fedora Update System 2010-05-18 17:57:52 EDT
postgresql-8.3.11-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 20 Tomas Hoger 2010-05-19 03:42:41 EDT
Upstream commit (head/master branch):
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=989b6ff11931dd742552dd3b8d51f3225ce9fb2e
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=09d3c3f3353c0a836935a87896097bae2d5bd81c

It seems upstream had some issues with CVS -> git repo sync, adding link to relevant commit list mail for completeness:
http://archives.postgresql.org/pgsql-committers/2010-05/msg00221.php
Comment 21 errata-xmlrpc 2010-05-19 11:48:42 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 3

Via RHSA-2010:0427 https://rhn.redhat.com/errata/RHSA-2010-0427.html
Comment 22 errata-xmlrpc 2010-05-19 12:16:01 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 4

Via RHSA-2010:0428 https://rhn.redhat.com/errata/RHSA-2010-0428.html
Comment 23 errata-xmlrpc 2010-05-19 12:30:03 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2010:0429 https://rhn.redhat.com/errata/RHSA-2010-0429.html
Comment 24 errata-xmlrpc 2010-05-19 13:01:51 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2010:0430 https://rhn.redhat.com/errata/RHSA-2010-0430.html
Comment 28 Vincent Danen 2010-09-22 16:11:36 EDT
Created sepostgresql tracking bugs for this issue

Affects: fedora-all [bug 636659]

Note You need to log in before you can comment on or make changes to this bug.