CWE
552
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2022-26520

First published: Tue Feb 01 2022(Updated: )

** 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.

Credit: cve@mitre.org cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
maven/org.postgresql:postgresql>=42.1.0<42.3.3
42.3.3
debian/libpgjava
42.2.5-2+deb10u1
42.2.5-2+deb10u3
42.2.15-1+deb11u1
42.5.4-1
42.6.0-2
Postgresql Postgresql Jdbc Driver>=42.1.0<=42.1.4
Postgresql Postgresql Jdbc Driver>=42.3.0<42.3.3
Debian Debian Linux=10.0
Debian Debian Linux=11.0
>=42.1.0<=42.1.4
>=42.3.0<42.3.3
=10.0
=11.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2022-26520?

    CVE-2022-26520 is a vulnerability found in Postgres JDBC that allows an attacker to write to arbitrary files.

  • How does the CVE-2022-26520 vulnerability work?

    The vulnerability allows an attacker who controls the jdbc URL or properties to call java.util.logging.FileHandler to write to arbitrary files through the loggerFile and loggerLevel connection properties.

  • What is the severity of CVE-2022-26520?

    The severity of CVE-2022-26520 is critical with a CVSS score of 9.8.

  • Which software versions are affected by CVE-2022-26520?

    Versions of Postgres JDBC prior to 42.3.3 and certain versions of libpgjava and PostgreSQL JDBC Driver are affected by CVE-2022-26520.

  • How can I fix the CVE-2022-26520 vulnerability?

    To fix the CVE-2022-26520 vulnerability, you should update your Postgres JDBC library to version 42.3.3 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203