Arbitrary Code Injection Affecting postgresql92 package, versions <0:9.2.18-1.59.amzn1


Severity

Recommended
medium

Based on Amazon 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-AMZN201803-POSTGRESQL92-1701606
  • published27 Sept 2021
  • 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 Amazon-Linux:2018.03 postgresql92 to version 0:9.2.18-1.59.amzn1 or higher.
This issue was patched in ALAS-2016-747.

NVD Description

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