PT-2022-5790 · Pgjdbc+8 · Pgjdbc+8
Jlleitschuh
·
Published
2022-11-23
·
Updated
2025-01-31
·
CVE-2022-41946
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
pgjdbc versions prior to 4.5.0
Description
The issue is related to the implementation of the
PreparedStatement.setText() or PreparedStatement.setBytea() methods in the PgJDBC driver, which can lead to the creation of temporary files that are readable by other users on Unix-like systems. This is an information disclosure issue, where an attacker could potentially access sensitive information. The vulnerability is dependent on the version of the JDK being used.Recommendations
For Java 1.7 and higher users, update to version 4.5.0 to fix the issue.
For Java 1.6 and lower users, no patch is available, but specifying the
java.io.tmpdir system environment variable to a directory exclusively owned by the executing user can mitigate this vulnerability.Exploit
Fix
Exposure of Resource to Wrong Sphere
Information Disclosure
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Red Hat
Red Os
Rocky Linux
Suse
Pgjdbc