PT-2022-5790

CVE-2022-41946

·

Published

2022-11-23

·

Updated

2026-10-08

Description by

CVSS 3.1
5.5
Medium
MetricsAV: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
Related identifiers
GHSA-562R-VG33-8X8H
ALSA-2023:2378
ALSA-2023_2378
ALSA-2023:2867
ALSA-2023_2867
ALT-PU-2023-8458
ALT-PU-2023-8462
ALT-PU-2024-16562
BIT-POSTGRESQL-JDBC-DRIVER-2022-41946
CESA-2023_2867
DLA-3218-1
DLA-3995-1
OESA-2023-1366
OPENSUSE-SU-2023_0103-1
OPENSUSE-SU-2024:12606-1
RHLW-2026-B44D1F7DAC7A0D3D
RHSA-2023:0759
RHSA-2023:1630
RHSA-2023:2097
RHSA-2023:2378
RHSA-2023_2378
RHSA-2023:2867
RHSA-2023_2867
RLSA-2023:2097
SUSE-SU-2023:0103-1
SUSE-SU-2023_0103-1
SUSE-SU-2023:0104-1
SUSE-SU-2023_0104-1
SUSE-SU-2023:0451-1
Found an issue in the description? Have something to add? Feel free to write us 👾