Skip to main content
← All vulnerabilities
CVE-2022-26520GHSA-673J-QM5F-XPV8BIT-POSTGRESQL-JDBC-DRIVER-2022-26520GHSA-727H-HRW8-JG8Q

In pgjdbc before 42.3.3, an attacker (who controls the jdbc URL or properties) can call java.util.logging.FileHandler to write to arbitrary

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 42.3.3
None on Exploit-DB, Metasploit or GitHub

Summary

In pgjdbc before 42.3.3, an attacker (who controls the jdbc URL or properties) can call java.util.logging.FileHandler to write to arbitrary files through the loggerFile and loggerLevel connection properties. An example situation is that an attacker could create an executable JSP file under a Tomcat web root. NOTE: the vendor's position is that there is no pgjdbc vulnerability; instead, it is a vulnerability for any application to use the pgjdbc driver with untrusted connection properties

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • org.postgresql:postgresqlMaven

    From 42.1.0 · fixed in 42.3.3

References 5

jdbc.postgresql.org

GitHub · pgjdbc/pgjdbc

debian.org