Improper Input Validation Affecting postgresql:12/pg_repack package, versions <0:1.4.6-3.module+el8.5.0+11354+78b3c9c5


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.69% (48th 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-RHEL8-POSTGRESQL-6104470
  • published7 Dec 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:12/pg_repack to version 0:1.4.6-3.module+el8.5.0+11354+78b3c9c5 or higher.
This issue was patched in RHSA-2023:7666.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql:12/pg_repack package and not the postgresql:12/pg_repack 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 Base Scores

version 3.1