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

EPSS: 0.026 (83.5th percentile) — read the EPSS interpretation.

Affected products

  • Postgresql — versions 8.3, 8.3.1, 8.3.2
  • N/a — versions n/a

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.