Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') Affecting postgresql:13/postgresql-plperl package, versions <0:13.10-1.module+el8.7.0+18279+1ca8cf12


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.23% (61st 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 Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-POSTGRESQL-5412646
  • published18 Aug 2022
  • disclosed11 Aug 2022

Introduced: 11 Aug 2022

CVE-2022-2625  (opens in a new tab)
CWE-1321  (opens in a new tab)
CWE-915  (opens in a new tab)

How to fix?

Upgrade RHEL:8 postgresql:13/postgresql-plperl to version 0:13.10-1.module+el8.7.0+18279+1ca8cf12 or higher.
This issue was patched in RHSA-2023:1576.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql:13/postgresql-plperl package and not the postgresql:13/postgresql-plperl package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

A vulnerability was found in PostgreSQL. This attack requires permission to create non-temporary objects in at least one schema, the ability to lure or wait for an administrator to create or update an affected extension in that schema, and the ability to lure or wait for a victim to use the object targeted in CREATE OR REPLACE or CREATE IF NOT EXISTS. Given all three prerequisites, this flaw allows an attacker to run arbitrary code as the victim role, which may be a superuser.

CVSS Scores

version 3.1