Access Restriction Bypass Affecting postgresql package, versions [,7.4.27)[8.0.0,8.0.23)[8.1.0,8.1.19)[8.2.0,8.2.15)[8.3.0,8.3.9)[8.4.0,8.4.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
3.26% (92nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Access Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-POSTGRESQL-2336032
  • published12 Jan 2022
  • disclosed15 Dec 2009
  • creditUnknown

Introduced: 15 Dec 2009

CVE-2009-4136  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade postgresql to version 7.4.27, 8.0.23, 8.1.19, 8.2.15, 8.3.9, 8.4.2 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass. 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.

References

CVSS Scores

version 3.1