CVEfocus › CVE database › CVE-2009-4136

CVE-2009-4136

EPSS 3.6% (higher than 90% of CVEs)Published 2009-12-15Updated 2024-08-07Assigner: redhat

PostgreSQL 7.4.x before 7.4.27, 8.0.x before 8.0.23, 8.1.x before 8.1.19, 8.2.x before 8.2.15, 8.3.x before 8.3.9, and 8.4.x before 8.4.2 does not properly manage session-local state during execution of an index function by a database superuser, which allows remote authenticated users to gain privileges via a table with crafted index functions, as demonstrated by functions that modify (1) search_path or (2) a prepared statement, a related issue to CVE-2007-6600 and CVE-2009-3230.

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

32Fixed

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.

ReleasePackageStatusFixed versionAdvisory
Red Hat Enterprise Linux 5postgresqlFixed0:8.1.21-1.el5_5.1RHSA-2010:0429
Red Hat Enterprise Linux 5postgresql-contribFixed0:8.1.21-1.el5_5.1RHSA-2010:0429
Red Hat Enterprise Linux 5postgresql-develFixed0:8.1.21-1.el5_5.1RHSA-2010:0429
Red Hat Enterprise Linux 5postgresql-docsFixed0:8.1.21-1.el5_5.1RHSA-2010:0429
Red Hat Enterprise Linux 5postgresql-libsFixed0:8.1.21-1.el5_5.1RHSA-2010:0429
Red Hat Enterprise Linux 5postgresql-plFixed0:8.1.21-1.el5_5.1RHSA-2010:0429
Red Hat Enterprise Linux 5postgresql-pythonFixed0:8.1.21-1.el5_5.1RHSA-2010:0429
Red Hat Enterprise Linux 5postgresql-serverFixed0:8.1.21-1.el5_5.1RHSA-2010:0429
Red Hat Enterprise Linux 5postgresql-tclFixed0:8.1.21-1.el5_5.1RHSA-2010:0429
Red Hat Enterprise Linux 5postgresql-testFixed0:8.1.21-1.el5_5.1RHSA-2010:0429
Red Hat Enterprise Linux 4postgresqlFixed0:7.4.29-1.el4_8.1RHSA-2010:0428
Red Hat Enterprise Linux 4postgresql-contribFixed0:7.4.29-1.el4_8.1RHSA-2010:0428
Red Hat Enterprise Linux 4postgresql-develFixed0:7.4.29-1.el4_8.1RHSA-2010:0428
Red Hat Enterprise Linux 4postgresql-docsFixed0:7.4.29-1.el4_8.1RHSA-2010:0428
Red Hat Enterprise Linux 4postgresql-jdbcFixed0:7.4.29-1.el4_8.1RHSA-2010:0428
Red Hat Enterprise Linux 4postgresql-libsFixed0:7.4.29-1.el4_8.1RHSA-2010:0428
Red Hat Enterprise Linux 4postgresql-plFixed0:7.4.29-1.el4_8.1RHSA-2010:0428
Red Hat Enterprise Linux 4postgresql-pythonFixed0:7.4.29-1.el4_8.1RHSA-2010:0428
Red Hat Enterprise Linux 4postgresql-serverFixed0:7.4.29-1.el4_8.1RHSA-2010:0428
Red Hat Enterprise Linux 4postgresql-tclFixed0:7.4.29-1.el4_8.1RHSA-2010:0428
Red Hat Enterprise Linux 4postgresql-testFixed0:7.4.29-1.el4_8.1RHSA-2010:0428
Red Hat Enterprise Linux 3rh-postgresqlFixed0:7.3.21-3RHSA-2010:0427
Red Hat Enterprise Linux 3rh-postgresql-contribFixed0:7.3.21-3RHSA-2010:0427
Red Hat Enterprise Linux 3rh-postgresql-develFixed0:7.3.21-3RHSA-2010:0427
Red Hat Enterprise Linux 3rh-postgresql-docsFixed0:7.3.21-3RHSA-2010:0427
Red Hat Enterprise Linux 3rh-postgresql-jdbcFixed0:7.3.21-3RHSA-2010:0427
Red Hat Enterprise Linux 3rh-postgresql-libsFixed0:7.3.21-3RHSA-2010:0427
Red Hat Enterprise Linux 3rh-postgresql-plFixed0:7.3.21-3RHSA-2010:0427
Red Hat Enterprise Linux 3rh-postgresql-pythonFixed0:7.3.21-3RHSA-2010:0427
Red Hat Enterprise Linux 3rh-postgresql-serverFixed0:7.3.21-3RHSA-2010:0427
Red Hat Enterprise Linux 3rh-postgresql-tclFixed0:7.3.21-3RHSA-2010:0427
Red Hat Enterprise Linux 3rh-postgresql-testFixed0:7.3.21-3RHSA-2010:0427

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:

References

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.