Files or Directories Accessible to External Parties Affecting postgresql-jdbc package, versions *


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.33% (72nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS7-POSTGRESQLJDBC-2423522
  • published15 Mar 2022
  • disclosed1 Feb 2022

Introduced: 1 Feb 2022

CVE-2022-26520  (opens in a new tab)
CWE-552  (opens in a new tab)

How to fix?

There is no fixed version for Centos:7 postgresql-jdbc.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql-jdbc package and not the postgresql-jdbc package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

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

CVSS Scores

version 3.1