Live threats

All CVEs / Postgresql

CVE-2012-1618Postgresql

High 7.5 No auth needed

Priority
60
CVSS 2.0
7.5
EPSS
2.9%
probability of exploitation in 30 days · percentile 88
Auth required
No
Published
Oct 6, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Postgresql.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.postgresql:postgresql < 8.2 8.2 —

Per OSV / GitHub Advisories (GHSA-h86w-m5rm-xr33). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
postgresqlpostgresql9.1
postgresqlpostgresql_jdbc_driver8.1

Official sources

References

Links published by the sources. Open them with care.