Show plain JSON{"affected_release": [{"advisory": "RHSA-2023:0888", "cpe": "cpe:/a:redhat:camel_quarkus:2.13", "package": "jdbc-postgresql", "product_name": "CEQ 2.13.2-1", "release_date": "2023-02-21T00:00:00Z"}, {"advisory": "RHSA-2023:0758", "cpe": "cpe:/a:redhat:quarkus:2.13", "product_name": "Red Hat build of Quarkus", "release_date": "2023-02-14T00:00:00Z"}, {"advisory": "RHSA-2023:1006", "cpe": "cpe:/a:redhat:quarkus:2.7", "package": "jdbc-postgresql", "product_name": "Red Hat build of Quarkus 2.7.7", "release_date": "2023-03-08T00:00:00Z"}, {"advisory": "RHSA-2023:2867", "cpe": "cpe:/a:redhat:enterprise_linux:8", "package": "postgresql-jdbc-0:42.2.14-2.el8", "product_name": "Red Hat Enterprise Linux 8", "release_date": "2023-05-16T00:00:00Z"}, {"advisory": "RHSA-2023:2378", "cpe": "cpe:/a:redhat:enterprise_linux:9", "package": "postgresql-jdbc-0:42.2.27-1.el9", "product_name": "Red Hat Enterprise Linux 9", "release_date": "2023-05-09T00:00:00Z"}, {"advisory": "RHSA-2023:3954", "cpe": "cpe:/a:redhat:jboss_fuse:7", "package": "jdbc-postgresql", "product_name": "Red Hat Fuse 7.12", "release_date": "2023-06-29T00:00:00Z"}, {"advisory": "RHSA-2023:1630", "cpe": "cpe:/a:redhat:satellite:6.12::el8", "package": "candlepin-0:4.1.20-1.el8sat", "product_name": "Red Hat Satellite 6.12 for RHEL 8", "release_date": "2023-04-04T00:00:00Z"}, {"advisory": "RHSA-2023:2097", "cpe": "cpe:/a:redhat:satellite:6.13::el8", "package": "candlepin-0:4.2.13-1.el8sat", "product_name": "Red Hat Satellite 6.13 for RHEL 8", "release_date": "2023-05-03T00:00:00Z"}, {"advisory": "RHSA-2023:0759", "cpe": "cpe:/a:redhat:rhev_manager:4.4:el8", "package": "ovirt-ansible-collection", "product_name": "Red Hat Virtualization 4", "release_date": "2023-02-14T00:00:00Z"}, {"advisory": "RHSA-2023:0759", "cpe": "cpe:/a:redhat:rhev_manager:4.4:el8", "package": "ovirt-engine", "product_name": "Red Hat Virtualization 4", "release_date": "2023-02-14T00:00:00Z"}, {"advisory": "RHSA-2023:0759", "cpe": "cpe:/a:redhat:rhev_manager:4.4:el8", "package": "postgresql-jdbc", "product_name": "Red Hat Virtualization 4", "release_date": "2023-02-14T00:00:00Z"}, {"advisory": "RHSA-2023:3906", "cpe": "cpe:/a:redhat:camel_k:1", "package": "jdbc-postgresql", "product_name": "RHINT Camel-K-1.10.1", "release_date": "2023-06-28T00:00:00Z"}, {"advisory": "RHSA-2023:1177", "cpe": "cpe:/a:redhat:camel_quarkus:2.7", "package": "jdbc-postgresql", "product_name": "RHINT Camel-Q 2.7-1", "release_date": "2023-03-09T00:00:00Z"}, {"advisory": "RHSA-2023:1815", "cpe": "cpe:/a:redhat:debezium:2", "impact": "low", "package": "postgresql-jdbc", "product_name": "RHINT Debezium 2.1.4", "release_date": "2023-04-17T00:00:00Z"}], "bugzilla": {"description": "postgresql-jdbc: Information leak of prepared statement data due to insecure temporary file permissions", "id": "2153399", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2153399"}, "csaw": false, "cvss3": {"cvss3_base_score": "5.5", "cvss3_scoring_vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "status": "verified"}, "cwe": "(CWE-200|CWE-377)", "details": ["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.", "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."], "name": "CVE-2022-41946", "package_state": [{"cpe": "cpe:/a:redhat:service_registry:2", "fix_state": "Not affected", "package_name": "jdbc-postgresql", "product_name": "Red Hat build of Apicurio Registry 2"}, {"cpe": "cpe:/o:redhat:enterprise_linux:6", "fix_state": "Out of support scope", "package_name": "postgresql-jdbc", "product_name": "Red Hat Enterprise Linux 6"}, {"cpe": "cpe:/o:redhat:enterprise_linux:7", "fix_state": "Out of support scope", "package_name": "postgresql-jdbc", "product_name": "Red Hat Enterprise Linux 7"}, {"cpe": "cpe:/o:redhat:enterprise_linux:8", "fix_state": "Will not fix", "package_name": "libreoffice:flatpak/postgresql-jdbc", "product_name": "Red Hat Enterprise Linux 8"}, {"cpe": "cpe:/o:redhat:enterprise_linux:9", "fix_state": "Affected", "package_name": "libreoffice:flatpak/postgresql-jdbc", "product_name": "Red Hat Enterprise Linux 9"}, {"cpe": "cpe:/a:redhat:jboss_enterprise_bpms_platform:7", "fix_state": "Out of support scope", "package_name": "jdbc-postgresql", "product_name": "Red Hat Process Automation 7"}, {"cpe": "cpe:/o:redhat:rhev_hypervisor:4", "fix_state": "Fix deferred", "package_name": "postgresql-jdbc", "product_name": "Red Hat Virtualization 4"}], "public_date": "2022-11-23T00:00:00Z", "references": ["https://www.cve.org/CVERecord?id=CVE-2022-41946\nhttps://nvd.nist.gov/vuln/detail/CVE-2022-41946"], "statement": "Red Hat Satellite ships a PostgreSQL JDBC Driver for Hibernate ORM framework, which is embeds into Candlepin. Although Candlepin itself doesn't make direct use of the PreparedStatement methods from the PostgreSQL JDBC Driver, Hibernate ORM does utilize these methods, potentially making framework affected. Satellite server operating in an environment with untrusted users while the driver is running are vulnerable to the flaw, however, deployments without untrusted users are considered safe. A future Satellite update should address this issue.", "threat_severity": "Moderate"}