Debian dla-3995 : libpostgresql-jdbc-java - security update

critical Nessus Plugin ID 213039

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 11 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-3995 advisory.

- ------------------------------------------------------------------------- Debian LTS Advisory DLA-3995-1 [email protected] https://www.debian.org/lts/security/ Adrian Bunk December 16, 2024 https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package : libpgjava Version : 42.2.15-1+deb11u2 CVE ID : CVE-2022-31197 CVE-2022-41946 CVE-2024-1597 Debian Bug : 1016662

Multiple vulnerabilities have been fixed in the PostgreSQL JDBC Driver.

CVE-2022-31197

SQL Injection in ResultSet.refreshRow()

CVE-2022-41946

temporary files can be read by other users

CVE-2024-1597

SQL Injection via line comment generation

For Debian 11 bullseye, these problems have been fixed in version 42.2.15-1+deb11u2.

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

Tenable has extracted the preceding description block directly from the Debian security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade the libpostgresql-jdbc-java packages.

See Also

https://security-tracker.debian.org/tracker/source-package/libpgjava

https://security-tracker.debian.org/tracker/CVE-2022-31197

https://security-tracker.debian.org/tracker/CVE-2022-41946

https://security-tracker.debian.org/tracker/CVE-2024-1597

https://packages.debian.org/source/bullseye/libpgjava

Plugin Details

Severity: Critical

ID: 213039

File Name: debian_DLA-3995.nasl

Version: 1.1

Type: local

Agent: unix

Published: 12/16/2024

Updated: 12/16/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2024-1597

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:libpostgresql-jdbc-java-doc, p-cpe:/a:debian:debian_linux:libpostgresql-jdbc-java

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/16/2024

Vulnerability Publication Date: 8/3/2022

Reference Information

CVE: CVE-2022-31197, CVE-2022-41946, CVE-2024-1597