Huawei EulerOS security update for linux-sgx package with remote code execution vulnerabilit
Reporter | Title | Published | Views | Family All 199 |
---|---|---|---|---|
![]() | CGA-82M6-4HXR-W67M | 6 Jun 202412:23 | – | osv |
![]() | OPENSUSE-SU-2024:13663-1 libopenssl-3-devel-3.1.4-4.1 on GA media | 15 Jun 202400:00 | – | osv |
![]() | CGA-V6GJ-WW59-2G5W | 6 Jun 202412:29 | – | osv |
![]() | OPENSUSE-SU-2024:13656-1 libopenssl-1_0_0-devel-1.0.2u-24.1 on GA media | 15 Jun 202400:00 | – | osv |
![]() | CGA-M4WP-P4QQ-W882 | 25 Sep 202405:28 | – | osv |
![]() | CGA-V739-9XHW-5VMF | 6 Jun 202412:29 | – | osv |
![]() | CVE-2024-0727 | 26 Jan 202409:15 | – | osv |
![]() | Null pointer dereference in PKCS12 parsing | 26 Jan 202409:30 | – | osv |
![]() | OPENSUSE-SU-2024:13662-1 libopenssl-1_1-devel-1.1.1w-7.1 on GA media | 15 Jun 202400:00 | – | osv |
![]() | CGA-4Q7F-4R4P-28J4 | 6 Jun 202412:23 | – | osv |
Source | Link |
---|---|
developer | www.developer.huaweicloud.com/intl/en-us/euleros/securitydetail.html |
# 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.2.2024.1804");
script_cve_id("CVE-2024-0727");
script_tag(name:"creation_date", value:"2024-06-03 04:15:31 +0000 (Mon, 03 Jun 2024)");
script_version("2024-06-03T05:05:26+0000");
script_tag(name:"last_modification", value:"2024-06-03 05:05:26 +0000 (Mon, 03 Jun 2024)");
script_tag(name:"cvss_base", value:"4.9");
script_tag(name:"cvss_base_vector", value:"AV:L/AC:L/Au:N/C:N/I:N/A:C");
script_tag(name:"severity_vector", value:"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2024-02-02 15:53:24 +0000 (Fri, 02 Feb 2024)");
script_name("Huawei EulerOS: Security Advisory for linux-sgx (EulerOS-SA-2024-1804)");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2024 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=EULEROS\-2\.0SP11\-X86_64");
script_xref(name:"Advisory-ID", value:"EulerOS-SA-2024-1804");
script_xref(name:"URL", value:"https://developer.huaweicloud.com/intl/en-us/euleros/securitydetail.html?secId=EulerOS-SA-2024-1804");
script_tag(name:"summary", value:"The remote host is missing an update for the Huawei EulerOS 'linux-sgx' package(s) announced via the EulerOS-SA-2024-1804 advisory.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable package version is present on the target host.");
script_tag(name:"insight", value:"A remote code execution vulnerability was found in Shim. The Shim boot support trusts attacker-controlled values when parsing an HTTP response. This flaw allows an attacker to craft a specific malicious HTTP request, leading to a completely controlled out-of-bounds write primitive and complete system compromise.(CVE-2024-0727)");
script_tag(name:"affected", value:"'linux-sgx' package(s) on Huawei EulerOS V2.0SP11(x86_64).");
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 == "EULEROS-2.0SP11-x86_64") {
if(!isnull(res = isrpmvuln(pkg:"libsgx-ae-le", rpm:"libsgx-ae-le~2.15.1~1.h18.eulerosv2r11", rls:"EULEROS-2.0SP11-x86_64"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"libsgx-aesm-launch-plugin", rpm:"libsgx-aesm-launch-plugin~2.15.1~1.h18.eulerosv2r11", rls:"EULEROS-2.0SP11-x86_64"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"libsgx-enclave-common", rpm:"libsgx-enclave-common~2.15.1~1.h18.eulerosv2r11", rls:"EULEROS-2.0SP11-x86_64"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"libsgx-launch", rpm:"libsgx-launch~2.15.1~1.h18.eulerosv2r11", rls:"EULEROS-2.0SP11-x86_64"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"libsgx-urts", rpm:"libsgx-urts~2.15.1~1.h18.eulerosv2r11", rls:"EULEROS-2.0SP11-x86_64"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"sgx-aesm-service", rpm:"sgx-aesm-service~2.15.1~1.h18.eulerosv2r11", rls:"EULEROS-2.0SP11-x86_64"))) {
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