SUSE Security Advisory for postgresql12 package upgrade to version 12.18 with security restrictions tightening CVE-2024-098
Reporter | Title | Published | Views | Family All 199 |
---|---|---|---|---|
![]() | AlmaLinux 9 : postgresql:15 (ALSA-2024:0950) | 28 Feb 202400:00 | – | nessus |
![]() | Debian dsa-5622 : libecpg-compat3 - security update | 15 Feb 202400:00 | – | nessus |
![]() | Oracle Linux 8 : postgresql:15 (ELSA-2024-0973) | 27 Feb 202400:00 | – | nessus |
![]() | Oracle Linux 9 : postgresql (ELSA-2024-0951) | 23 Feb 202400:00 | – | nessus |
![]() | Rocky Linux 8 : postgresql:15 (RLSA-2024:0973) | 12 Mar 202400:00 | – | nessus |
![]() | Oracle Linux 8 : postgresql:10 (ELSA-2024-0956) | 28 Feb 202400:00 | – | nessus |
![]() | RHEL 9 : postgresql:15 (RHSA-2024:1314) | 13 Mar 202400:00 | – | nessus |
![]() | Rocky Linux 9 : postgresql:15 (RLSA-2024:0950) | 12 Mar 202400:00 | – | nessus |
![]() | Amazon Linux 2 : postgresql (ALASPOSTGRESQL13-2024-006) | 6 Mar 202400:00 | – | nessus |
![]() | AlmaLinux 8 : postgresql:13 (ALSA-2024:0975) | 28 Feb 202400:00 | – | nessus |
# SPDX-FileCopyrightText: 2024 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
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.1.4.2024.0542.1");
script_cve_id("CVE-2024-0985");
script_tag(name:"creation_date", value:"2024-02-21 04:23:53 +0000 (Wed, 21 Feb 2024)");
script_version("2025-02-14T08:35:38+0000");
script_tag(name:"last_modification", value:"2025-02-14 08:35:38 +0000 (Fri, 14 Feb 2025)");
script_tag(name:"cvss_base", value:"9.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:C/I:C/A:C");
script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2024-02-15 15:23:49 +0000 (Thu, 15 Feb 2024)");
script_name("SUSE: Security Advisory (SUSE-SU-2024:0542-1)");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2024 Greenbone AG");
script_family("SuSE Local Security Checks");
script_dependencies("gather-package-list.nasl");
script_mandatory_keys("ssh/login/suse_sles", "ssh/login/rpms", re:"ssh/login/release=(SLES12\.0SP5)");
script_xref(name:"Advisory-ID", value:"SUSE-SU-2024:0542-1");
script_xref(name:"URL", value:"https://www.suse.com/support/update/announcement/2024/suse-su-20240542-1/");
script_xref(name:"URL", value:"https://bugzilla.suse.com/1219679");
script_xref(name:"URL", value:"https://lists.suse.com/pipermail/sle-updates/2024-February/034293.html");
script_tag(name:"summary", value:"The remote host is missing an update for the 'postgresql12' package(s) announced via the SUSE-SU-2024:0542-1 advisory.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable package version is present on the target host.");
script_tag(name:"insight", value:"This update for postgresql12 fixes the following issues:
Upgrade to 12.18:
- CVE-2024-0985: Tighten security restrictions within REFRESH MATERIALIZED VIEW CONCURRENTLY (bsc#1219679).");
script_tag(name:"affected", value:"'postgresql12' package(s) on SUSE Linux Enterprise Server 12-SP5, SUSE Linux Enterprise Server for SAP Applications 12-SP5.");
script_tag(name:"solution", value:"Please install the updated package(s).");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"package");
exit(0);
}
include("revisions-lib.inc");
include("pkg-lib-rpm.inc");
release = rpm_get_ssh_release();
if(!release)
exit(0);
res = "";
report = "";
if(release == "SLES12.0SP5") {
if(!isnull(res = isrpmvuln(pkg:"postgresql12", rpm:"postgresql12~12.18~3.52.1", rls:"SLES12.0SP5"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"postgresql12-contrib", rpm:"postgresql12-contrib~12.18~3.52.1", rls:"SLES12.0SP5"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"postgresql12-docs", rpm:"postgresql12-docs~12.18~3.52.1", rls:"SLES12.0SP5"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"postgresql12-plperl", rpm:"postgresql12-plperl~12.18~3.52.1", rls:"SLES12.0SP5"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"postgresql12-plpython", rpm:"postgresql12-plpython~12.18~3.52.1", rls:"SLES12.0SP5"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"postgresql12-pltcl", rpm:"postgresql12-pltcl~12.18~3.52.1", rls:"SLES12.0SP5"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"postgresql12-server", rpm:"postgresql12-server~12.18~3.52.1", rls:"SLES12.0SP5"))) {
report += res;
}
if(report != "") {
security_message(data:report);
} else if(__pkg_match) {
exit(99);
}
exit(0);
}
exit(0);
Transform Your Security Services
Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.
Book a live demo