SQL Injection in PostgreSQL

CVE-2012-0868

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.

Vulnerability class: SQL Injection

Published · last modified .

CVSS v2 metric

CVSS v2 base score 6.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.

EPSS exploit prediction

EPSS: 0.027 (85.1th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 85th percentile — 85.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2012-0868: held from 0.026 to 0.027.

EPSS over last 30 days · oldest: 0.026 · newest: 0.027 · change: +0.001

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2012-0868?
CVE-2012-0868 is a vulnerability in PostgreSQL, classified under SQL Injection. Published 2012-07-18.
Is CVE-2012-0868 known to be exploited?
13 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.