SQL Injection Affecting postgresql8-server package, versions <0:8.4.20-2.48.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.46% (76th 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 SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN201803-POSTGRESQL8SERVER-1683976
  • published27 Sept 2021
  • disclosed27 Jan 2020

Introduced: 27 Jan 2020

CVE-2015-0244  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 postgresql8-server to version 0:8.4.20-2.48.amzn1 or higher.
This issue was patched in ALAS-2015-503.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql8-server package and not the postgresql8-server package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

PostgreSQL before 9.0.19, 9.1.x before 9.1.15, 9.2.x before 9.2.10, 9.3.x before 9.3.6, and 9.4.x before 9.4.1 does not properly handle errors while reading a protocol message, which allows remote attackers to conduct SQL injection attacks via crafted binary data in a parameter and causing an error, which triggers the loss of synchronization and part of the protocol message to be treated as a new message, as demonstrated by causing a timeout or query cancellation.

CVSS Scores

version 3.1