PT-2022-5790
CVE-2022-41946
·
Published
2022-11-23
·
Updated
2026-10-08
Description by
CVSS 3.1
5.5
MediumMetricsAV: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.Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾