postgresql-jdbc-42.2.14-2.el8
エラータID: AXSA:2023-5995:03
リリース日:
2023/06/12 Monday - 12:46
題名:
postgresql-jdbc-42.2.14-2.el8
影響のあるチャネル:
Asianux Server 8 for x86_64
Severity:
Moderate
Description:
以下項目について対処しました。
[Security Fix]
- PostgreSQL の JDBC ドライバの PreparedStatement.setText()
メソッドおよび PreparedStatemet.setBytea() メソッドには、一時
ディレクトリに他のユーザーが作成したファイルを読み書きできる
問題があるため、ローカルの攻撃者により、情報漏洩を可能とする
脆弱性が存在します。(CVE-2022-41946)
解決策:
パッケージをアップデートしてください。
CVE:
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.
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