Arbitrary Code Injection Affecting postgresql package, versions <0:9.2.18-1.el7


Severity

Recommended
medium

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
2.11% (89th 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 Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ORACLE7-POSTGRESQL-2509038
  • published10 Apr 2022
  • disclosed9 Dec 2016

Introduced: 9 Dec 2016

CVE-2016-5424  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade Oracle:7 postgresql to version 0:9.2.18-1.el7 or higher.
This issue was patched in ELSA-2016-2606.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql package and not the postgresql package as distributed by Oracle. See How to fix? for Oracle:7 relevant fixed versions and status.

PostgreSQL before 9.1.23, 9.2.x before 9.2.18, 9.3.x before 9.3.14, 9.4.x before 9.4.9, and 9.5.x before 9.5.4 might allow remote authenticated users with the CREATEDB or CREATEROLE role to gain superuser privileges via a (1) " (double quote), (2) \ (backslash), (3) carriage return, or (4) newline character in a (a) database or (b) role name that is mishandled during an administrative operation.