Red Hat VEX
RHVEX-CVE-2022-41946
postgresql-jdbc: Information leak of prepared statement data due to insecure temporary file permissions
Details
A flaw was found in org.postgresql. This issue allows the creation of a temporary file when using PreparedStatement.setText(int, InputStream) and PreparedStatemet.setBytea(int, InputStream). This could allow a user to create an unexpected file available to all users, which could end in unexpected behavior.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:6 | postgresql-jdbc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | postgresql-jdbc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | postgresql-jdbc-javadoc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | postgresql-jdbc | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | postgresql-jdbc-javadoc | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | postgresql-jdbc | All versions, no fix yet |