postgresql-jdbc-42.2.14-2.el8
エラータID: AXSA:2023-5995:03
PostgreSQL is an advanced object-relational database management system. The postgresql-jdbc package includes the .jar files needed for Java programs to access a PostgreSQL database.
Security Fix(es):
* postgresql-jdbc: Information leak of prepared statement data due to insecure temporary file permissions (CVE-2022-41946)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
CVE-2022-41946
pgjdbc is an open source postgresql JDBC Driver. In affected versions a prepared statement using either `PreparedStatement.setText(int, InputStream)` or `PreparedStatemet.setBytea(int, InputStream)` will create a temporary file if the InputStream is larger than 2k. This will create a temporary file which is readable by other users on Unix like systems, but not MacOS. On Unix like systems, the system's temporary directory is shared between all users on that system. Because of this, when files and directories are written into this directory they are, by default, readable by other users on that same system. This vulnerability does not allow other users to overwrite the contents of these directories or files. This is purely an information disclosure vulnerability. Because certain JDK file system APIs were only added in JDK 1.7, this this fix is dependent upon the version of the JDK you are using. Java 1.7 and higher users: this vulnerability is fixed in 4.5.0. Java 1.6 and lower users: no patch is available. If you are unable to patch, or are stuck running on Java 1.6, specifying the java.io.tmpdir system environment variable to a directory that is exclusively owned by the executing user will mitigate this vulnerability.
Update packages.
pgjdbc is an open source postgresql JDBC Driver. In affected versions a prepared statement using either `PreparedStatement.setText(int, InputStream)` or `PreparedStatemet.setBytea(int, InputStream)` will create a temporary file if the InputStream is larger than 2k. This will create a temporary file which is readable by other users on Unix like systems, but not MacOS. On Unix like systems, the system's temporary directory is shared between all users on that system. Because of this, when files and directories are written into this directory they are, by default, readable by other users on that same system. This vulnerability does not allow other users to overwrite the contents of these directories or files. This is purely an information disclosure vulnerability. Because certain JDK file system APIs were only added in JDK 1.7, this this fix is dependent upon the version of the JDK you are using. Java 1.7 and higher users: this vulnerability is fixed in 4.5.0. Java 1.6 and lower users: no patch is available. If you are unable to patch, or are stuck running on Java 1.6, specifying the java.io.tmpdir system environment variable to a directory that is exclusively owned by the executing user will mitigate this vulnerability.
N/A
SRPMS
- postgresql-jdbc-42.2.14-2.el8.src.rpm
MD5: 66515843faf54c84dae1bb6904df2643
SHA-256: 1e6438af4e16f2fe85b73286c0ddb93962aba1add38de6e98c75db6806e7960c
Size: 878.31 kB
Asianux Server 8 for x86_64
- postgresql-jdbc-42.2.14-2.el8.noarch.rpm
MD5: 9e5b1db488742f89d370e3f3332c839b
SHA-256: 56f8ddb864a3d72e6703791fc9c587d25a5c9f7e4170a181f1faa2f00379c4a9
Size: 752.34 kB - postgresql-jdbc-javadoc-42.2.14-2.el8.noarch.rpm
MD5: e19b8f74b1e334e9b52e3e4e9b74ddcf
SHA-256: 63d5c9fe7b085cb7e4134e699136774829178144cfd75c5ef99934738294a29e
Size: 657.66 kB