{"id":"CVE-2012-1618","aliases":["EUVD-2022-4105","GHSA-h86w-m5rm-xr33"],"status":"published","title":"Unescaped parameters in the PostgreSQL JDBC driver","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.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02942,"percentile":0.87223,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2012-10-06T22:00:00Z","modified":"2026-06-16T23:39:54Z","fixes":[{"ecosystem":"Maven","package":"org.postgresql:postgresql","fixed_in":["8.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.postgresql:postgresql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.2"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.postgresql:postgresql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.2"}]}]}],"products":[{"vendor":"postgresql","product":"postgresql"},{"vendor":"postgresql","product":"postgresql_jdbc_driver"}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2012/03/30/9","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2012/04/02/4","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://bugzilla.novell.com/show_bug.cgi?id=754273","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2012/04/04/9","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.osvdb.org/80641","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"http://lists.opensuse.org/opensuse-security/2012-03/msg00024.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2012/04/04/5","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2012/04/04/4","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2012/03/30/8","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2012/04/04/11","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2012/03/31/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://archives.neohapsis.com/archives/bugtraq/2012-03/0126.html","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-1618","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-h86w-m5rm-xr33"},{"url":"https://github.com/pgjdbc/pgjdbc","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2012-1618","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.","status":"published","published":"2012-10-06T22:00:00Z","modified":"2024-08-06T19:01:02.736Z","updated_at":"2026-11-02T14:34:51.937988Z"}],"euvd":[{"id":"EUVD-2022-4105","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.","status":"published","published":"2012-10-06T22:00:00Z","modified":"2024-08-06T19:01:02Z","updated_at":"2026-11-03T01:56:17.382633Z"}],"ghsa":[{"id":"GHSA-h86w-m5rm-xr33","title":"Unescaped parameters in the PostgreSQL JDBC driver","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.","status":"published","published":"2022-05-17T05:20:42Z","modified":"2023-02-14T00:32:50Z","updated_at":"2026-11-02T14:36:45.67005Z"}],"nvd":[{"id":"CVE-2012-1618","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.","status":"published","published":"2012-10-06T22:55:01.697Z","modified":"2026-06-16T23:39:54.02Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:02:16.115119Z"}],"osv":[{"id":"GHSA-h86w-m5rm-xr33","title":"Unescaped parameters in the PostgreSQL JDBC driver","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.","status":"published","published":"2022-05-17T05:20:42Z","modified":"2023-11-08T03:57:04.274364Z","updated_at":"2026-11-02T15:46:48.920784Z"}]}}
