CVE-2012-0868
NVD
Vulnerability Summary
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 & Patched Versions
- PostgreSQL
No patched version published yet
Until a fix ships, reduce exposure:
- Restrict access to the affected service or interface to trusted networks.
- Disable the affected feature if you do not need it.
- Watch the vendor advisory for a firmware or software update.
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run PostgreSQL and which version.
- No patched version is listed yet. Limit access to the affected service to trusted networks, and disable the feature if you can.
- Subscribe to the vendor advisory so you learn when a fix ships.
Timeline
- Jul 18, 2012Published
- Apr 29, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new PostgreSQL CVEsYou are reading CVE-2012-0868. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Referencehttp://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
- Referencehttp://lists.opensuse.org/opensuse-updates/2012-09/msg00060.html
- Referencehttp://rhn.redhat.com/errata/RHSA-2012-0677.html
- Referencehttp://rhn.redhat.com/errata/RHSA-2012-0678.html
- Referencehttp://secunia.com/advisories/49272
- Referencehttp://secunia.com/advisories/49273
- Vendor Advisoryhttp://www.debian.org/security/2012/dsa-2418
- Vendor Advisoryhttp://www.mandriva.com/security/advisories?name=MDVSA-2012:026
- Vendor Advisoryhttp://www.mandriva.com/security/advisories?name=MDVSA-2012:027
- Vendor Advisoryhttp://www.postgresql.org/about/news/1377/
- Referencehttp://www.postgresql.org/docs/8.3/static/release-8-3-18.html
- Referencehttp://www.postgresql.org/docs/8.4/static/release-8-4-11.html
- Referencehttp://www.postgresql.org/docs/9.0/static/release-9-0-7.html
- Referencehttp://www.postgresql.org/docs/9.1/static/release-9-1-3.html
- Referencehttp://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
- Referencehttp://lists.opensuse.org/opensuse-updates/2012-09/msg00060.html
- Referencehttp://rhn.redhat.com/errata/RHSA-2012-0677.html
- Referencehttp://rhn.redhat.com/errata/RHSA-2012-0678.html
- Referencehttp://secunia.com/advisories/49272
- Referencehttp://secunia.com/advisories/49273
- Vendor Advisoryhttp://www.debian.org/security/2012/dsa-2418
- Vendor Advisoryhttp://www.mandriva.com/security/advisories?name=MDVSA-2012:026
- Vendor Advisoryhttp://www.mandriva.com/security/advisories?name=MDVSA-2012:027
- Vendor Advisoryhttp://www.postgresql.org/about/news/1377/
- Referencehttp://www.postgresql.org/docs/8.3/static/release-8-3-18.html
- Referencehttp://www.postgresql.org/docs/8.4/static/release-8-4-11.html
- Referencehttp://www.postgresql.org/docs/9.0/static/release-9-0-7.html
- Referencehttp://www.postgresql.org/docs/9.1/static/release-9-1-3.html
Data last checked: Dec 3, 2026 01:10 UTC