Unescaped parameters in the PostgreSQL JDBC driver
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.postgresql:postgresql | < 8.2 | 8.2 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2012-1618
- https://bugzilla.novell.com/show_bug.cgi?id=754273
- https://github.com/pgjdbc/pgjdbc
- http://archives.neohapsis.com/archives/bugtraq/2012-03/0126.html
- http://lists.opensuse.org/opensuse-security/2012-03/msg00024.html
- http://www.openwall.com/lists/oss-security/2012/03/30/8
- http://www.openwall.com/lists/oss-security/2012/03/30/9
- http://www.openwall.com/lists/oss-security/2012/03/31/1
- http://www.openwall.com/lists/oss-security/2012/04/02/4
- http://www.openwall.com/lists/oss-security/2012/04/04/11
- http://www.openwall.com/lists/oss-security/2012/04/04/4
- http://www.openwall.com/lists/oss-security/2012/04/04/5
- http://www.openwall.com/lists/oss-security/2012/04/04/9
- http://www.osvdb.org/80641
- Weakness (CWE)
-- Platform
- Java / Kotlin (Maven)
- Package
org.postgresql:postgresql- Disclosed
- 17.05.2022
- Updated
- 11.10.2026 11:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-h86w-m5rm-xr33 - CC BY 4.0
Vulnerability history: org.postgresql:postgresql
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 10
- First → latest
- 02.2022 07.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 7
- Medium 2
Disclosures per year
- 2022: 6
- 2023: 0
- 2024: 1
- 2025: 1
- 2026: 2
-
Unescaped parameters in the PostgreSQL JDBC driver this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.