postgresql-jdbc-42.2.27-1.el9

エラータID: AXSA:2023-5766:02

Release date: 
Friday, June 2, 2023 - 02:18
Subject: 
postgresql-jdbc-42.2.27-1.el9
Affected Channels: 
MIRACLE LINUX 9 for x86_64
Severity: 
Moderate
Description: 

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.

Solution: 

Update packages.

Additional Info: 

N/A

Download: 

SRPMS
  1. postgresql-jdbc-42.2.27-1.el9.src.rpm
    MD5: eab2c04660cf83139ece5f84f368608a
    SHA-256: 9602bcd7b096ae819edae3aeabdc78615e679b0558f0a9a63c7d93a3669cd7f1
    Size: 912.86 kB

Asianux Server 9 for x86_64
  1. postgresql-jdbc-42.2.27-1.el9.noarch.rpm
    MD5: 5fa5b44b7af163b5bffbf31b163160e9
    SHA-256: fd53128985e2cdc02f367c277175aed950555819b62ffbf15b6a5401a921e803
    Size: 790.08 kB