Improper Input Validation Affecting postgresql15-debugsource package, versions <0:15.4-1.amzn2023.0.1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.1% (42nd 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-AMZN2023-POSTGRESQL15DEBUGSOURCE-6033569
  • published25 Oct 2023
  • disclosed9 Jun 2023

Introduced: 9 Jun 2023

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

How to fix?

Upgrade Amazon-Linux:2023 postgresql15-debugsource to version 0:15.4-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2023-387.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql15-debugsource package and not the postgresql15-debugsource package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 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