PostgreSQL JDBC Driver 42.2.x < 42.2.27 / 42.3.x < 42.3.8 / 42.4.x < 42.4.3 / 42.5.x < 42.5.1 Information Disclosure

medium Nessus Plugin ID 168365

Synopsis

The remote host contains a database access library that contains an information disclosure vulnerability.

Description

The remote host contains a version of PostgreSQL JDBC Driver that is 42.2.x prior to 42.2.27, 42.3.x prior to 42.3.8, 42.4.x prior to 42.4.3 or 42.5.x prior to 42.5.1. It is, therefore, affected by an information disclosure vulnerability.
SQL queries using prepared statements that total more than 51 kilobytes will be written to the system temporary directory where they can be read by any local user of the system.

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

Solution

Upgrade to PostgreSQL JDBC Driver version 42.2.27, 42.3.8, 42.4.3, 42.5.1, or later

See Also

http://www.nessus.org/u?f63d30fe

http://www.nessus.org/u?f310e272

Plugin Details

Severity: Medium

ID: 168365

File Name: postgres_jdbc_cve-2022-41946.nasl

Version: 1.5

Type: local

Agent: unix

Family: Databases

Published: 12/2/2022

Updated: 10/7/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.6

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

CVSS Score Source: CVE-2022-41946

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 5

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

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

Vulnerability Information

CPE: cpe:/a:postgresql:postgresql_jdbc_driver

Required KB Items: installed_sw/PostgreSQL JDBC Driver

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/23/2022

Vulnerability Publication Date: 11/16/2022

Reference Information

CVE: CVE-2022-41946

IAVB: 2022-B-0055-S