Huawei EulerOS: Security Advisory for systemd (EulerOS-SA-2023-2113) - Off-by-one Error and Local Information Leak Vulnerabilitie
Reporter | Title | Published | Views | Family All 199 |
---|---|---|---|---|
![]() | EulerOS Virtualization 2.10.0 : systemd (EulerOS-SA-2023-1942) | 16 May 202300:00 | – | nessus |
![]() | EulerOS Virtualization 2.11.1 : systemd (EulerOS-SA-2023-2061) | 7 Jun 202300:00 | – | nessus |
![]() | EulerOS Virtualization 2.11.0 : systemd (EulerOS-SA-2023-2113) | 7 Jun 202300:00 | – | nessus |
![]() | EulerOS Virtualization 2.10.1 : systemd (EulerOS-SA-2023-1911) | 16 May 202300:00 | – | nessus |
![]() | RHEL 8 : systemd (RHSA-2024:1105) | 5 Mar 202400:00 | – | nessus |
![]() | SUSE SLES12 Security Update : systemd (SUSE-SU-2023:1776-1) | 6 Apr 202300:00 | – | nessus |
![]() | Ubuntu 16.04 ESM / 18.04 LTS / 20.04 LTS / 22.04 LTS : systemd vulnerabilities (USN-5928-1) | 7 Mar 202300:00 | – | nessus |
![]() | Amazon Linux 2 : systemd (ALAS-2022-1899) | 7 Dec 202200:00 | – | nessus |
![]() | Rocky Linux 9 : systemd (RLSA-2023:0336) | 6 Nov 202300:00 | – | nessus |
![]() | SUSE SLED15 / SLES15 Security Update : systemd (SUSE-SU-2022:4056-1) | 19 Nov 202200:00 | – | nessus |
Source | Link |
---|---|
developer | www.developer.huaweicloud.com/intl/en-us/euleros/securitydetail.html |
# 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
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.1.2.2023.2113");
script_cve_id("CVE-2022-3821", "CVE-2022-4415");
script_tag(name:"creation_date", value:"2023-06-07 04:14:30 +0000 (Wed, 07 Jun 2023)");
script_version("2024-02-05T14:36:57+0000");
script_tag(name:"last_modification", value:"2024-02-05 14:36:57 +0000 (Mon, 05 Feb 2024)");
script_tag(name:"cvss_base", value:"4.6");
script_tag(name:"cvss_base_vector", value:"AV:L/AC:L/Au:S/C:C/I:N/A:N");
script_tag(name:"severity_vector", value:"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2023-01-19 18:07:28 +0000 (Thu, 19 Jan 2023)");
script_name("Huawei EulerOS: Security Advisory for systemd (EulerOS-SA-2023-2113)");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2023 Greenbone AG");
script_family("Huawei EulerOS Local Security Checks");
script_dependencies("gb_huawei_euleros_consolidation.nasl");
script_mandatory_keys("ssh/login/euleros", "ssh/login/rpms", re:"ssh/login/release=EULEROSVIRT\-2\.11\.0");
script_xref(name:"Advisory-ID", value:"EulerOS-SA-2023-2113");
script_xref(name:"URL", value:"https://developer.huaweicloud.com/intl/en-us/euleros/securitydetail.html?secId=EulerOS-SA-2023-2113");
script_tag(name:"summary", value:"The remote host is missing an update for the Huawei EulerOS 'systemd' package(s) announced via the EulerOS-SA-2023-2113 advisory.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable package version is present on the target host.");
script_tag(name:"insight", value:"An off-by-one Error issue was discovered in Systemd in format_timespan() function of time-util.c. An attacker could supply specific values for time and accuracy that leads to buffer overrun in format_timespan(), leading to a Denial of Service.(CVE-2022-3821)
A vulnerability was found in systemd. This security flaw can cause a local information leak due to systemd-coredump not respecting the fs.suid_dumpable kernel setting.(CVE-2022-4415)");
script_tag(name:"affected", value:"'systemd' package(s) on Huawei EulerOS Virtualization release 2.11.0.");
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 == "EULEROSVIRT-2.11.0") {
if(!isnull(res = isrpmvuln(pkg:"systemd", rpm:"systemd~249~16.h42.eulerosv2r11", rls:"EULEROSVIRT-2.11.0"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"systemd-container", rpm:"systemd-container~249~16.h42.eulerosv2r11", rls:"EULEROSVIRT-2.11.0"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"systemd-libs", rpm:"systemd-libs~249~16.h42.eulerosv2r11", rls:"EULEROSVIRT-2.11.0"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"systemd-networkd", rpm:"systemd-networkd~249~16.h42.eulerosv2r11", rls:"EULEROSVIRT-2.11.0"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"systemd-nspawn", rpm:"systemd-nspawn~249~16.h42.eulerosv2r11", rls:"EULEROSVIRT-2.11.0"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"systemd-pam", rpm:"systemd-pam~249~16.h42.eulerosv2r11", rls:"EULEROSVIRT-2.11.0"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"systemd-resolved", rpm:"systemd-resolved~249~16.h42.eulerosv2r11", rls:"EULEROSVIRT-2.11.0"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"systemd-timesyncd", rpm:"systemd-timesyncd~249~16.h42.eulerosv2r11", rls:"EULEROSVIRT-2.11.0"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"systemd-udev", rpm:"systemd-udev~249~16.h42.eulerosv2r11", rls:"EULEROSVIRT-2.11.0"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"systemd-udev-compat", rpm:"systemd-udev-compat~249~16.h42.eulerosv2r11", rls:"EULEROSVIRT-2.11.0"))) {
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