Path traversal in org.postgresql:postgresql
Low severity
GitHub Reviewed
Published
Mar 11, 2022
to the GitHub Advisory Database
•
Updated Aug 3, 2023
Package
Affected versions
>= 42.1.0, < 42.3.3
Patched versions
42.3.3
Description
Published by the National Vulnerability Database
Mar 10, 2022
Published to the GitHub Advisory Database
Mar 11, 2022
Reviewed
Sep 8, 2022
Last updated
Aug 3, 2023
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.
References