CVE Database


Impact: Moderate
Public: 2012-02-27
Bugzilla: 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 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 Instance
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 version 5 (postgresql) RHSA-2012:0677 May 21, 2012
Red Hat Enterprise Linux version 5 (postgresql84) RHSA-2012:0678 May 21, 2012
Red Hat Enterprise Linux version 6 (postgresql) RHSA-2012:0678 May 21, 2012

External References

This page is generated automatically and has not been checked for errors or omissions.

For clarification or corrections please contact the Red Hat Security Response Team.