Skip to content

Unescaped parameters in the PostgreSQL JDBC driver

High severity GitHub Reviewed Published May 17, 2022 to the GitHub Advisory Database • Updated Feb 14, 2023

Package

maven org.postgresql:postgresql (Maven)

Affected versions

< 8.2

Patched versions

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.

References

Published by the National Vulnerability Database Oct 6, 2012
Published to the GitHub Advisory Database May 17, 2022
Reviewed Feb 14, 2023
Last updated Feb 14, 2023

Severity

High

EPSS score

0.623%
(79th percentile)

Weaknesses

No CWEs

CVE ID

CVE-2012-1618

GHSA ID

GHSA-h86w-m5rm-xr33

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.