Security Advisory for http-parser package on Huawei EulerO
Reporter | Title | Published | Views | Family All 146 |
---|---|---|---|---|
![]() | EulerOS 2.0 SP3 : http-parser (EulerOS-SA-2019-2238) | 8 Nov 201900:00 | – | nessus |
![]() | EulerOS 2.0 SP2 : http-parser (EulerOS-SA-2020-1652) | 17 Jun 202000:00 | – | nessus |
![]() | RHEL 7 : http-parser (RHSA-2019:2258) | 12 Aug 201900:00 | – | nessus |
![]() | NewStart CGSL CORE 5.04 / MAIN 5.04 : http-parser Multiple Vulnerabilities (NS-SA-2019-0208) | 15 Oct 201900:00 | – | nessus |
![]() | CentOS 7 : http-parser (CESA-2019:2258) | 19 Sep 201900:00 | – | nessus |
![]() | Oracle Linux 7 : http-parser (ELSA-2019-2258) | 7 Sep 202300:00 | – | nessus |
![]() | EulerOS Virtualization 3.0.2.2 : http-parser (EulerOS-SA-2020-1486) | 16 Apr 202000:00 | – | nessus |
![]() | EulerOS 2.0 SP5 : http-parser (EulerOS-SA-2019-2158) | 12 Nov 201900:00 | – | nessus |
![]() | Amazon Linux 2 : http-parser (ALAS-2019-1322) | 25 Oct 201900:00 | – | nessus |
![]() | NewStart CGSL CORE 5.05 / MAIN 5.05 : http-parser Multiple Vulnerabilities (NS-SA-2019-0257) | 31 Dec 201900:00 | – | nessus |
Source | Link |
---|---|
developer | www.developer.huaweicloud.com/intl/en-us/euleros/securitydetail.html |
# SPDX-FileCopyrightText: 2020 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.2019.2238");
script_cve_id("CVE-2018-12121", "CVE-2018-7159");
script_tag(name:"creation_date", value:"2020-01-23 12:42:33 +0000 (Thu, 23 Jan 2020)");
script_version("2024-02-05T14:36:56+0000");
script_tag(name:"last_modification", value:"2024-02-05 14:36:56 +0000 (Mon, 05 Feb 2024)");
script_tag(name:"cvss_base", value:"5.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:P/A:N");
script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2018-12-27 12:17:17 +0000 (Thu, 27 Dec 2018)");
script_name("Huawei EulerOS: Security Advisory for http-parser (EulerOS-SA-2019-2238)");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2020 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\.0SP3");
script_xref(name:"Advisory-ID", value:"EulerOS-SA-2019-2238");
script_xref(name:"URL", value:"https://developer.huaweicloud.com/intl/en-us/euleros/securitydetail.html?secId=EulerOS-SA-2019-2238");
script_tag(name:"summary", value:"The remote host is missing an update for the Huawei EulerOS 'http-parser' package(s) announced via the EulerOS-SA-2019-2238 advisory.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable package version is present on the target host.");
script_tag(name:"insight", value:"The HTTP parser in all current versions of Node.js ignores spaces in the `Content-Length` header, allowing input such as `Content-Length: 1 2` to be interpreted as having a value of `12`. The HTTP specification does not allow for spaces in the `Content-Length` value and the Node.js HTTP parser has been brought into line on this particular difference. The security risk of this flaw to Node.js users is considered to be VERY LOW as it is difficult, and may be impossible, to craft an attack that makes use of this flaw in a way that could not already be achieved by supplying an incorrect value for `Content-Length`. Vulnerabilities may exist in user-code that make incorrect assumptions about the potential accuracy of this value compared to the actual length of the data supplied. Node.js users crafting lower-level HTTP utilities are advised to re-check the length of any input supplied after parsing is complete.(CVE-2018-7159)
Node.js: All versions prior to Node.js 6.15.0, 8.14.0, 10.14.0 and 11.3.0: Denial of Service with large HTTP headers: By using a combination of many requests with maximum sized headers (almost 80 KB per connection), and carefully timed completion of the headers, it is possible to cause the HTTP server to abort from heap allocation failure. Attack potential is mitigated by the use of a load balancer or other proxy layer.(CVE-2018-12121)");
script_tag(name:"affected", value:"'http-parser' package(s) on Huawei EulerOS V2.0SP3.");
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.0SP3") {
if(!isnull(res = isrpmvuln(pkg:"http-parser", rpm:"http-parser~2.7.1~1.h2", rls:"EULEROS-2.0SP3"))) {
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