SQL Injection Affecting postgresql8-docs package, versions <0:8.4.11-1.34.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
2.65% (85th 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 IDSNYK-AMZN201803-POSTGRESQL8DOCS-1664459
  • published27 Sept 2021
  • disclosed18 Jul 2012

Introduced: 18 Jul 2012

CVE-2012-0868  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 postgresql8-docs to version 0:8.4.11-1.34.amzn1 or higher.
This issue was patched in ALAS-2012-82.

NVD Description

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

CRLF injection vulnerability in pg_dump in PostgreSQL 8.3.x before 8.3.18, 8.4.x before 8.4.11, 9.0.x before 9.0.7, and 9.1.x before 9.1.3 allows user-assisted remote attackers to execute arbitrary SQL commands via a crafted file containing object names with newlines, which are inserted into an SQL script that is used when the database is restored.

CVSS Base Scores

version 3.1