SQL Injection Affecting postgresql-server package, versions <0:8.4.11-1.el6_2


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.99% (84th 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-RHEL6-POSTGRESQLSERVER-1439023
  • published26 Jul 2021
  • disclosed27 Feb 2012

Introduced: 27 Feb 2012

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

How to fix?

Upgrade RHEL:6 postgresql-server to version 0:8.4.11-1.el6_2 or higher.
This issue was patched in RHSA-2012:0678.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql-server package and not the postgresql-server package as distributed by RHEL. See How to fix? for RHEL:6 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 Scores

version 3.1