{
  "threat_severity" : "Moderate",
  "public_date" : "2012-02-27T00:00:00Z",
  "bugzilla" : {
    "description" : "postgresql: SQL injection due unsanitized newline characters in object names",
    "id" : "797917",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=797917"
  },
  "cvss" : {
    "cvss_base_score" : "2.3",
    "cvss_scoring_vector" : "AV:A/AC:M/Au:S/C:N/I:P/A:N",
    "status" : "verified"
  },
  "details" : [ "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." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 5",
    "release_date" : "2012-05-21T00:00:00Z",
    "advisory" : "RHSA-2012:0677",
    "cpe" : "cpe:/o:redhat:enterprise_linux:5",
    "package" : "postgresql-0:8.1.23-4.el5_8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 5",
    "release_date" : "2012-05-21T00:00:00Z",
    "advisory" : "RHSA-2012:0678",
    "cpe" : "cpe:/o:redhat:enterprise_linux:5",
    "package" : "postgresql84-0:8.4.11-1.el5_8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "release_date" : "2012-05-21T00:00:00Z",
    "advisory" : "RHSA-2012:0678",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6",
    "package" : "postgresql-0:8.4.11-1.el6_2"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 4",
    "fix_state" : "Will not fix",
    "package_name" : "postgresql",
    "cpe" : "cpe:/o:redhat:enterprise_linux:4"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2012-0868\nhttps://nvd.nist.gov/vuln/detail/CVE-2012-0868" ],
  "name" : "CVE-2012-0868",
  "csaw" : false
}