CVE-2012-0868

postgresql: SQL injection due unsanitized newline characters in object names

Published Jul 18, 2012 CVSS 2.0 · 6.8 Medium EPSS 2.7% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-2418-1 postgresql-8.4 security update
EUVD EUVD EUVD-2012-0893 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.
Ubuntu USN Ubuntu USN USN-1378-1 PostgreSQL vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 6, 2024, 6:38 PM
Reserved
Jan 19, 2012, 12:00 AM
Status
Modified
Published
Jul 18, 2012, 11:55 PM
Modified
Jun 16, 2026, 11:38 PM
Severity
Moderate
Public date
Feb 27, 2012, 12:00 AM