Huawei EulerOS 'openssl' package update. Processing malicious PKCS12 file may lead to DoS (CVE-2024-0727
Reporter | Title | Published | Views | Family All 199 |
---|---|---|---|---|
![]() | Null pointer dereference | 26 Jan 202409:15 | – | prion |
![]() | Null pointer dereference in PKCS12 parsing | 26 Jan 202409:30 | – | osv |
![]() | CVE-2024-0727 | 26 Jan 202409:15 | – | osv |
![]() | OPENSUSE-SU-2024:13662-1 libopenssl-1_1-devel-1.1.1w-7.1 on GA media | 15 Jun 202400:00 | – | osv |
![]() | CGA-82M6-4HXR-W67M | 6 Jun 202412:23 | – | osv |
![]() | CGA-V739-9XHW-5VMF | 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 |
![]() | 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 |
![]() | CGA-M4WP-P4QQ-W882 | 25 Sep 202405:28 | – | 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.1746");
script_cve_id("CVE-2024-0727");
script_tag(name:"creation_date", value:"2024-05-30 15:11:32 +0000 (Thu, 30 May 2024)");
script_version("2024-05-31T05:05:30+0000");
script_tag(name:"last_modification", value:"2024-05-31 05:05:30 +0000 (Fri, 31 May 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 openssl (EulerOS-SA-2024-1746)");
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\.0SP12");
script_xref(name:"Advisory-ID", value:"EulerOS-SA-2024-1746");
script_xref(name:"URL", value:"https://developer.huaweicloud.com/intl/en-us/euleros/securitydetail.html?secId=EulerOS-SA-2024-1746");
script_tag(name:"summary", value:"The remote host is missing an update for the Huawei EulerOS 'openssl' package(s) announced via the EulerOS-SA-2024-1746 advisory.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable package version is present on the target host.");
script_tag(name:"insight", value:"Issue summary: Processing a maliciously formatted PKCS12 file may lead OpenSSL to crash leading to a potential Denial of Service attack Impact summary: Applications loading files in the PKCS12 format from untrusted sources might terminate abruptly. A file in PKCS12 format can contain certificates and keys and may come from an untrusted source. The PKCS12 specification allows certain fields to be NULL, but OpenSSL does not correctly check for this case. This can lead to a NULL pointer dereference that results in OpenSSL crashing. If an application processes PKCS12 files from an untrusted source using the OpenSSL APIs then that application will be vulnerable to this issue. OpenSSL APIs that are vulnerable to this are: PKCS12_parse(), PKCS12_unpack_p7data(), PKCS12_unpack_p7encdata(), PKCS12_unpack_authsafes() and PKCS12_newpass(). We have also fixed a similar issue in SMIME_write_PKCS7(). However since this function is related to writing data we do not consider it security significant. The FIPS modules in 3.2, 3.1 and 3.0 are not affected by this issue.(CVE-2024-0727)");
script_tag(name:"affected", value:"'openssl' package(s) on Huawei EulerOS V2.0SP12.");
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.0SP12") {
if(!isnull(res = isrpmvuln(pkg:"openssl", rpm:"openssl~1.1.1m~15.h32.eulerosv2r12", rls:"EULEROS-2.0SP12"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"openssl-libs", rpm:"openssl-libs~1.1.1m~15.h32.eulerosv2r12", rls:"EULEROS-2.0SP12"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"openssl-perl", rpm:"openssl-perl~1.1.1m~15.h32.eulerosv2r12", rls:"EULEROS-2.0SP12"))) {
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