Public Date:
797917: CVE-2012-0868 postgresql: SQL injection due unsanitized newline characters in object names

The MITRE CVE dictionary describes this issue as:

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.

Find out more about CVE-2012-0868 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v2 metrics

Base Score 2.3
Base Metrics AV:A/AC:M/Au:S/C:N/I:P/A:N
Access Vector Adjacent Network
Access Complexity Medium
Authentication Single
Confidentiality Impact None
Integrity Impact Partial
Availability Impact None

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat Security Errata

Platform Errata Release Date
Red Hat Enterprise Linux 5 (postgresql84) RHSA-2012:0678 2012-05-21
Red Hat Enterprise Linux 6 (postgresql) RHSA-2012:0678 2012-05-21
Red Hat Enterprise Linux 5 (postgresql) RHSA-2012:0677 2012-05-21

Affected Packages State

Platform Package State
Red Hat Enterprise Linux 4 postgresql Will not fix
Unless explicitly stated as not affected, all previous versions of packages in any minor update stream of a product listed here should be assumed vulnerable, although may not have been subject to full analysis.
Last Modified

CVE description copyright © 2017, The MITRE Corporation