Improper Input Validation Affecting postgresql:13/postgresql-plperl package, versions <0:13.11-1.module+el8.8.0+19081+0a277c66


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.09% (40th 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 Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-POSTGRESQL-5831770
  • published16 May 2023
  • disclosed11 May 2023

Introduced: 11 May 2023

CVE-2023-2455  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade RHEL:8 postgresql:13/postgresql-plperl to version 0:13.11-1.module+el8.8.0+19081+0a277c66 or higher.
This issue was patched in RHSA-2023:4527.

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.

Row security policies disregard user ID changes after inlining; PostgreSQL could permit incorrect policies to be applied in certain cases where role-specific policies are used and a given query is planned under one role and then executed under other roles. This scenario can happen under security definer functions or when a common user and query is planned initially and then re-used across multiple SET ROLEs. Applying an incorrect policy may permit a user to complete otherwise-forbidden reads and modifications. This affects only databases that have used CREATE POLICY to define a row security policy.

CVSS Scores

version 3.1