Access Restriction Bypass Affecting postgresql8-server package, versions <0:8.4.11-1.34.amzn1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.44% (75th 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 IDSNYK-AMZN201803-POSTGRESQL8SERVER-1664355
  • published27 Sept 2021
  • disclosed18 Jul 2012

Introduced: 18 Jul 2012

CVE-2012-0866  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 postgresql8-server to version 0:8.4.11-1.34.amzn1 or higher.
This issue was patched in ALAS-2012-82.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql8-server package and not the postgresql8-server package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

CREATE TRIGGER in PostgreSQL 8.3.x before 8.3.18, 8.4.x before 8.4.11, 9.0.x before 9.0.7, and 9.1.x before 9.1.3 does not properly check the execute permission for trigger functions marked SECURITY DEFINER, which allows remote authenticated users to execute otherwise restricted triggers on arbitrary data by installing the trigger on an attacker-owned table.

CVSS Scores

version 3.1