CVE-2022-26520

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-26520
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-26520.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-26520
Aliases
Related
Withdrawn
2022-07-31T19:06:34Z
Published
2022-03-10T17:47:45Z
Modified
2024-09-18T03:17:37.603023Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

Affected packages

Debian:11 / libpgjava

Package

Name
libpgjava
Purl
pkg:deb/debian/libpgjava?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
42.2.15-1+deb11u1

Affected versions

42.*

42.2.15-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / libpgjava

Package

Name
libpgjava
Purl
pkg:deb/debian/libpgjava?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
42.3.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / libpgjava

Package

Name
libpgjava
Purl
pkg:deb/debian/libpgjava?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
42.3.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/pgjdbc/pgjdbc

Affected ranges

Type
GIT
Repo
https://github.com/pgjdbc/pgjdbc
Events

Affected versions

REL42.*

REL42.3.0
REL42.3.0-rc2
REL42.3.1
REL42.3.1-rc1
REL42.3.1-rc2
REL42.3.2
REL42.3.2-rc2