Postgresql JDBC Driver is vulnerable to Information Disclosure. The vulnerability exists due to StreamWrapper
parameterized constructor in StreamWrapper.java
creating a temporary file if the InputStream is larger than 51200 bytes which allows an attacker to read the file due to incorrect file permissions.
github.com/pgjdbc/pgjdbc/commit/34855cffb9079edf95cf77930f3e3b73f6a1b139
github.com/pgjdbc/pgjdbc/commit/9008dc9aade6dbfe4efafcd6872ebc55f4699cf5
github.com/pgjdbc/pgjdbc/commit/91b8c2ca600f82d2ec47c3fb54ca2036b000e320
github.com/pgjdbc/pgjdbc/commit/e73c6b6b53ff11bc0bd06c44130a880d3bf77c55
github.com/pgjdbc/pgjdbc/pull/2673
github.com/pgjdbc/pgjdbc/pull/2674
github.com/pgjdbc/pgjdbc/pull/2675
github.com/pgjdbc/pgjdbc/security/advisories/GHSA-562r-vg33-8x8h
lists.debian.org/debian-lts-announce/2022/12/msg00003.html
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/25TY2L3RMVNOC7VAHJEAO7PTT6M6JJAD/
lists.fedoraproject.org/archives/list/[email protected]/message/25TY2L3RMVNOC7VAHJEAO7PTT6M6JJAD/
www.postgresql.org/about/news/postgresql-jdbc-4251-4243-4238-42227jre7-security-update-for-cve-2022-41946-2551/