Arbitrary Code Execution Affecting postgresql package, versions [,11.20)[12.0,12.15)[13.0,13.11)[14.0,14.8)[15.0,15.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.32% (71st 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 Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-POSTGRESQL-5664661
  • published1 Jun 2023
  • disclosed11 May 2023
  • creditAlexander Lakhin

Introduced: 11 May 2023

CVE-2023-2454  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade postgresql to version 11.20, 12.15, 13.11, 14.8, 15.3 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution in the CREATE SCHEMA statement. An attacker with database-level CREATE privilege can bypass protective search_path changes and execute arbitrary code as the bootstrap superuser.

CVSS Scores

version 3.1