Debian 10264 Published by

A libpgjava security update has been released for Debian GNU/Linux 10 LTS to address a file permission problem.



DLA 3218-1: libpgjava security update



- -----------------------------------------------------------------------
Debian LTS Advisory DLA-3218-1 debian-lts@lists.debian.org
  https://www.debian.org/lts/security/ Utkarsh Gupta
December 03, 2022   https://wiki.debian.org/LTS
- -----------------------------------------------------------------------

Package : libpgjava
Version : 42.2.5-2+deb10u3
CVE ID : 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.

For Debian 10 buster, this problem has been fixed in version
42.2.5-2+deb10u3.

We recommend that you upgrade your libpgjava packages.

For the detailed security status of libpgjava please refer to
its security tracker page at:
  https://security-tracker.debian.org/tracker/libpgjava

Further information about Debian LTS security advisories, how to apply
these updates to your system and frequently asked questions can be
found at:   https://wiki.debian.org/LTS