GHSA-h86w-m5rm-xr33
Unescaped parameters in the PostgreSQL JDBC driver
Quick fix
GHSA-h86w-m5rm-xr33 — org.postgresql:postgresql: upgrade to the fixed version with the command below.
# pom.xml: bump <version>8.2</version> for org.postgresql:postgresqlDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 8.2# pom.xml: bump <version>8.2</version> for org.postgresql:postgresqlReferences
- https://nvd.nist.gov/vuln/detail/CVE-2012-1618[ADVISORY]
- https://bugzilla.novell.com/show_bug.cgi?id=754273[WEB]
- https://github.com/pgjdbc/pgjdbc[PACKAGE]
- http://archives.neohapsis.com/archives/bugtraq/2012-03/0126.html[WEB]
- http://lists.opensuse.org/opensuse-security/2012-03/msg00024.html[WEB]
- http://www.openwall.com/lists/oss-security/2012/03/30/8[WEB]
- http://www.openwall.com/lists/oss-security/2012/03/30/9[WEB]
- http://www.openwall.com/lists/oss-security/2012/03/31/1[WEB]
- http://www.openwall.com/lists/oss-security/2012/04/02/4[WEB]
- http://www.openwall.com/lists/oss-security/2012/04/04/11[WEB]
- http://www.openwall.com/lists/oss-security/2012/04/04/4[WEB]
- http://www.openwall.com/lists/oss-security/2012/04/04/5[WEB]
- http://www.openwall.com/lists/oss-security/2012/04/04/9[WEB]
- http://www.osvdb.org/80641[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:maven/org.postgresql/postgresql"]}'