CVE-2022-26520

Summary

CVECVE-2022-26520
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-03-10 17:47:00 UTC
Updated2023-11-07 03:45:00 UTC
Description** DISPUTED ** 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.

Risk And Classification

Problem Types: NVD-CWE-noinfo

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 10.0 All All All
Operating System Debian Debian Linux 11.0 All All All
Application Postgresql Pgjdbc All All All All
Application Postgresql Pgjdbc All All All All
Application Postgresql Postgresql Jdbc Driver All All All All
Application Postgresql Postgresql Jdbc Driver All All All All

References

ReferenceSourceLinkTags
Arbitrary File Write Vulnerability · Advisory · pgjdbc/pgjdbc · GitHub MISC github.com
Debian -- Security Information -- DSA-5196-1 libpgjava DEBIAN www.debian.org
PostgreSQL JDBC Changelog MISC jdbc.postgresql.org
Tomcat setup MISC jdbc.postgresql.org
fix javadocs by davecramer · Pull Request #2454 · pgjdbc/pgjdbc · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 180905 Debian Security Update for libpgjava (DSA 5196-1)
  • 183024 Debian Security Update for libpgjava (CVE-2022-26520)
  • 753170 SUSE Enterprise Linux Security Update for postgresql-jdbc (SUSE-SU-2022:2655-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report