Lucene search
+L

PostgreSQL 12.x < 12.14, 13.x < 13.10, 14.x < 14.7, 15.x < 15.2 Information Disclosure Vulnerability - Linux

🗓️ 10 Feb 2023 00:00:00Reported by Copyright (C) 2023 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 23 Views

PostgreSQL 12.x < 12.14, 13.x < 13.10, 14.x < 14.7, 15.x < 15.2 Information Disclosure Vulnerability - Linu

Related
Refs
Code
ReporterTitlePublishedViews
Family
ibm
IBM Security Bulletins
Security Bulletin: Multiple Security Vulnerabilities were identified in IBM Security Verify Access.
9 Jan 202420:27
ibm
ibm
IBM Security Bulletins
Security Bulletin: IBM Security Verify Governance has multiple vulnerabilities
10 Jul 202416:31
ibm
ibm
IBM Security Bulletins
Security Bulletin: IBM Connect:Direct Web Services vulnerable to sensitive information exposure due to PostgreSQL (CVE-2022-41862)
3 Jul 202304:13
ibm
ibm
IBM Security Bulletins
Security Bulletin: Vulnerabilities in Golang, Python, postgresql, cURL libcurl might affect IBM Spectrum Copy Data Management
16 Jun 202319:25
ibm
ibm
IBM Security Bulletins
Security Bulletin: IBM Watson Discovery Cartridge for IBM Cloud Pak for Data affected by vulnerability in PostgreSQL
2 May 202322:05
ibm
ibm
IBM Security Bulletins
Security Bulletin: Netcool Operations Insights 1.6.12 addresses multiple security vulnerabilities.
2 Apr 202411:06
ibm
ibm
IBM Security Bulletins
Security Bulletin: Vulnerabilities in cURL libcurl, PostgreSQL, PyPI cryptography, Node.js can affect IBM Spectrum Protect Plus
20 Jun 202316:46
ibm
ibm
IBM Security Bulletins
Security Bulletin: Multiple security vulnerabilities are addressed with IBM Cloud Pak for Business Automation iFixes for August 2023
1 Sep 202319:56
ibm
ibm
IBM Security Bulletins
Security Bulletin: The Network Threat Analytics App for IBM QRadar SIEM is vulnerable to using components with known vulnerabilities
24 Mar 202618:22
ibm
altlinux
ALT Linux
Security fix for the ALT Linux 9 package postgresql12-1C version 12.14-alt0.M90P.1
28 Feb 202300:00
altlinux
Rows per page
# SPDX-FileCopyrightText: 2023 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

CPE = "cpe:/a:postgresql:postgresql";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.127334");
  script_version("2025-09-01T05:39:44+0000");
  script_tag(name:"last_modification", value:"2025-09-01 05:39:44 +0000 (Mon, 01 Sep 2025)");
  script_tag(name:"creation_date", value:"2023-02-10 12:42:44 +0000 (Fri, 10 Feb 2023)");
  script_tag(name:"cvss_base", value:"2.6");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:H/Au:N/C:P/I:N/A:N");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2023-03-14 15:17:00 +0000 (Tue, 14 Mar 2023)");

  script_cve_id("CVE-2022-41862");

  script_tag(name:"qod_type", value:"remote_banner_unreliable");

  script_tag(name:"solution_type", value:"VendorFix");

  script_name("PostgreSQL 12.x < 12.14, 13.x < 13.10, 14.x < 14.7, 15.x < 15.2 Information Disclosure Vulnerability - Linux");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2023 Greenbone AG");
  script_family("Databases");
  script_dependencies("gb_postgresql_consolidation.nasl", "os_detection.nasl");
  script_mandatory_keys("postgresql/detected", "Host/runs_unixoide");

  script_tag(name:"summary", value:"PostgreSQL is prone to an information disclosure
  vulnerability.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"insight", value:"A modified, unauthenticated server or an unauthenticated
  man-in-the-middle can send an unterminated string during the establishment of Kerberos transport
  encryption. When a libpq client application has a Kerberos credential cache and doesn't
  explicitly disable option gssencmode, a server can cause libpq to over-read and report an error
  message containing uninitialized bytes from and following its receive buffer. If libpq's caller
  somehow makes that message accessible to the attacker, this achieves a disclosure of the
  over-read bytes.");

  script_tag(name:"affected", value:"PostgreSQL versions 12.x prior to 12.14, 13.x prior to 13.10,
  14.x prior to 14.7 and 15.x prior to 15.2.");

  script_tag(name:"solution", value:"Update to version 12.14, 13.10, 14.7, 15.2 or later.");

  script_xref(name:"URL", value:"https://www.postgresql.org/about/news/postgresql-152-147-1310-1214-and-1119-released-2592/");
  script_xref(name:"URL", value:"https://www.postgresql.org/support/security/CVE-2022-41862/");

  exit(0);
}

include("host_details.inc");
include("version_func.inc");

if( isnull( port = get_app_port( cpe: CPE ) ) )
  exit( 0 );

if( ! infos = get_app_version_and_location( cpe: CPE, port: port, exit_no_version: TRUE ) )
  exit( 0 );

version = infos["version"];
location = infos["location"];

if( version_in_range_exclusive( version: version, test_version_lo: "12.0", test_version_up: "12.14" ) ) {
  report = report_fixed_ver( installed_version: version, fixed_version: "12.14", install_path: location );
  security_message( port: port, data: report );
  exit( 0 );
}

if( version_in_range_exclusive( version: version, test_version_lo: "13.0", test_version_up: "13.10" ) ) {
  report = report_fixed_ver( installed_version: version, fixed_version: "13.10", install_path: location );
  security_message( port: port, data: report );
  exit( 0 );
}

if( version_in_range_exclusive( version: version, test_version_lo: "14.0", test_version_up: "14.7" ) ) {
  report = report_fixed_ver( installed_version: version, fixed_version: "14.7", install_path: location );
  security_message( port: port, data: report );
  exit( 0 );
}

if( version_in_range_exclusive( version: version, test_version_lo: "15.0", test_version_up: "15.2" ) ) {
  report = report_fixed_ver( installed_version: version, fixed_version: "15.2", install_path: location );
  security_message( port: port, data: report );
  exit( 0 );
}

exit( 99 );

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

01 Sep 2025 00:00Current
6.3Medium risk
Vulners AI Score6.3
CVSS 3.13.7
EPSS0.00622
SSVC
23