Skip to content
OpenAdvisories
Unscored CVE-2012-0868 EUVD-2012-0893GHSA-4x75-j285-xp55

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 …

Published Jul 18, 2012 · Updated Aug 6, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 6.0 postgresql-8.4 8.4.11-0squeeze1 DSA-2418-1
ReleasePackageFixed inAdvisory
RHEL 6 postgresql +9 8.4.11-1.el6_2 RHSA-2012:0678
RHEL 5 postgresql +9 8.1.23-4.el5_8 RHSA-2012:0677
RHEL 5 postgresql84 +11 8.4.11-1.el5_8 RHSA-2012:0678
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed postgresql93 9.3.15-1.1 openSUSE-SU-2024:10256-1
openSUSE Tumbleweed postgresql94 9.4.10-1.1 openSUSE-SU-2024:10030-1
openSUSE Tumbleweed postgresql95 9.5.4-1.2 openSUSE-SU-2024:10273-1

Advisories 6

References