Lucene search
+L

Apache Hadoop Zip Slip Vulnerability (CVE-2018-8009)

🗓️ 14 Nov 2018 00:00:00Reported by Copyright (C) 2018 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 32 Views

Apache Hadoop Zip Slip Vulnerability (CVE-2018-8009) is a directory traversal vulnerability that affects Apache Hadoop versions 3.1.0, 3.0.0-alpha through 3.0.2, 2.9.0 through 2.9.1, 2.8.0 through 2.8.4, 2.0.0-alpha through 2.7.6 and 0.23.0 through 0.23.11. The vulnerability can be exploited by extracting files from an archive, resulting in remote command execution and potential damage to sensitive resources. Update to version 3.1.1, 3.0.3, 2.8.5 or 2.7.7 respectively

Related
Refs
Code
ReporterTitlePublishedViews
Family
ibm
IBM Security Bulletins
Security Bulletin: Multiple vulnerabilities have been identified in DB2 that affect the IBM Performance Management product
20 May 202014:01
ibm
ibm
IBM Security Bulletins
Security Bulletin: IBM QRadar Incident Forensics is vulnerable to using component with known vulnerabilities
7 Oct 202020:58
ibm
ibm
IBM Security Bulletins
Security Bulletin: IBM Db2® Warehouse has released a fix in response to multiple vulnerabilities found in IBM Db2®
19 Apr 202116:53
ibm
ibm
IBM Security Bulletins
Security Bulletin: IBM InfoSphere Information Server is affected but not classified as vulnerable to multiple vulnerabilities in Apache Hadoop
17 May 202321:55
ibm
ibm
IBM Security Bulletins
Security Bulletin: Multiple security vulnerabilities have been identified in IBM® DB2® shipped with IBM PureData System for Operational Analytics
29 Apr 202501:54
ibm
ibm
IBM Security Bulletins
Security Bulletin: IBM Data Risk Manager is affected by multiple vulnerabilities including a remote code execution in Spring Framework (CVE-2022-22965)
11 Apr 202215:17
ibm
ibm
IBM Security Bulletins
Security Bulletin: Due to use of Spark from Hadoop, IBM Cloud Pak for Multicloud Management Monitoring could allow a remote attacker to traverse directories on the system.
5 Sep 202310:36
ibm
ibm
IBM Security Bulletins
Security Bulletin: Multiple vulnerabilities in dependent libraries affect IBM® Db2® leading to denial of service or privilege escalation.
10 Mar 202121:20
ibm
bdu_fstec
BDU FSTEC
The vulnerability of the YARN NodeManager component in Apache Hadoop’s distributed development and execution platform allows attackers to circumvent existing security restrictions and introduce malicious code into a zip file.
26 Dec 201900:00
bdu_fstec
broadcom
Broadcom
BSA-2018-662
21 Jun 201800:00
broadcom
Rows per page
# SPDX-FileCopyrightText: 2018 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.0.112430");
  script_version("2026-01-28T05:49:43+0000");
  script_tag(name:"last_modification", value:"2026-01-28 05:49:43 +0000 (Wed, 28 Jan 2026)");
  script_tag(name:"creation_date", value:"2018-11-14 15:33:11 +0100 (Wed, 14 Nov 2018)");
  script_tag(name:"cvss_base", value:"6.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:P/I:P/A:P");
  script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2020-10-08 10:15:00 +0000 (Thu, 08 Oct 2020)");

  script_tag(name:"qod_type", value:"remote_banner");

  script_tag(name:"solution_type", value:"VendorFix");

  script_cve_id("CVE-2018-8009");

  script_name("Apache Hadoop Zip Slip Vulnerability (CVE-2018-8009)");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2018 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_apache_hadoop_http_detect.nasl");
  script_mandatory_keys("apache/hadoop/detected");

  script_tag(name:"summary", value:"Apache Hadoop is prone to the 'Zip Slip' vulnerability.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"insight", value:"The vulnerability is exploited using a specially crafted archive
  that holds directory traversal filenames (e.g. ../../evil.sh). The Zip Slip vulnerability can
  affect numerous archive formats, including tar, jar, war, cpio, apk, rar and 7z.");

  script_tag(name:"impact", value:"Zip Slip is a form of directory traversal that can be exploited
  by extracting files from an archive. The premise of the directory traversal vulnerability is that
  an attacker can gain access to parts of the file system outside of the target folder in which they
  should reside. The attacker can then overwrite executable files and either invoke them remotely or
  wait for the system or user to call them, thus achieving remote command execution on the victim's
  machine. The vulnerability can also cause damage by overwriting configuration files or other
  sensitive resources, and can be exploited on both client (user) machines and servers.");

  script_tag(name:"affected", value:"Apache Hadoop versions 3.1.0, 3.0.0-alpha through 3.0.2, 2.9.0
  through 2.9.1, 2.8.0 through 2.8.4, 2.0.0-alpha through 2.7.6 and 0.23.0 through 0.23.11.");

  script_tag(name:"solution", value:"Update to version 3.1.1, 3.0.3, 2.8.5 or 2.7.7 respectively.");

  script_xref(name:"URL", value:"https://hadoop.apache.org/cve_list.html#cve-2018-8009-http-cve-mitre-org-cgi-bin-cvename-cgi-name-cve-2018-8009-zip-slip-impact-on-apache-hadoop");
  script_xref(name:"URL", value:"https://snyk.io/research/zip-slip-vulnerability");

  exit(0);
}

CPE = "cpe:/a:apache:hadoop";

include( "host_details.inc" );
include( "version_func.inc" );

if( ! port = get_app_port( cpe: CPE ) )
  exit( 0 );

if( ! version = get_app_version( cpe: CPE, port: port ) )
  exit( 0 );

if( version_in_range( version: version, test_version: "0.23.0", test_version2: "0.23.11" ) ||
    version_in_range( version: version, test_version: "2.0.0", test_version2: "2.7.6" ) ) {
  report = report_fixed_ver( installed_version: version, fixed_version: "2.7.7" );
  security_message( port: port, data: report );
  exit( 0 );
}

if( version_in_range( version: version, test_version: "2.8.0", test_version2: "2.8.4" ) ) {
  report = report_fixed_ver( installed_version: version, fixed_version: "2.8.5" );
  security_message( port: port, data: report );
  exit( 0 );
}

if( version_in_range( version: version, test_version: "2.9.0", test_version2: "2.9.1" ) ||
    version_in_range( version: version, test_version: "3.0.0", test_version2: "3.0.2" ) ) {
  report = report_fixed_ver( installed_version: version, fixed_version: "3.0.3" );
  security_message( port: port, data: report );
  exit( 0 );
}

if( version_is_equal( version: version, test_version: "3.1.0" ) ) {
  report = report_fixed_ver( installed_version: version, fixed_version: "3.1.1" );
  security_message( port: port, data: report );
  exit( 0 );
}

exit( 99 );

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

28 Jan 2026 00:00Current
7.3High risk
Vulners AI Score7.3
CVSS 26.5
CVSS 38.8
EPSS0.07577
32