Apache Hadoop Remote Code Execution Vulnerability (CVE-2022-25168) Alert

Apache Hadoop Remote Code Execution Vulnerability (CVE-2022-25168) Alert

August 16, 2022 | Jie Ji

Overview

Recently, NSFOCUS CERT found that Apache Hadoop officially fixed a command injection vulnerability. Since Apache Hadoop’s FileUtil.unTar API does not escape the input filename before passing it to the shell, an attacker could exploit this vulnerability to inject arbitrary commands and thus achieve remote code execution. Affected users are recommended to take steps to protect themselves.

Hadoop is an open source distributed computing platform under the Apache Foundation. It is developed based on the Java language, has good cross-platform features, and can be deployed in inexpensive computer clusters. Users can develop distributed programs without knowing the underlying details of distribution, and make full use of the power of clusters for high-speed computing and storage.

Reference link: https://www.mail-archive.com/announce@apache.org/msg07488.html

Scope of Impact

Affected version

  • 2.0.0 <= Apache Hadoop <= 2.10.1
  • 3.0.0-alpha <= Apache Hadoop <= 3.2.3
  • 3.3.0 <= Apache Hadoop <= 3.3.2

Unaffected version

  • Apache Hadoop 2.10.2
  • Apache Hadoop 3.2.4
  • Apache Hadoop 3.3.3

Mitigation

Official upgrade

At present, the official has fixed the vulnerability in the latest version, please install the update as soon as possible to protect the affected users, the official download link: https://hadoop.apache.org/

Statement

This advisory is only used to describe a potential risk. NSFOCUS does not provide any commitment or promise on this advisory. NSFOCUS and the author will not bear any liability for any direct and/or indirect consequences and losses caused by transmitting and/or using this advisory. NSFOCUS reserves all the rights to modify and interpret this advisory. Please include this statement paragraph when reproducing or transferring this advisory. Do not modify this advisory, add/delete any information to/from it, or use this advisory for commercial purposes without permission from NSFOCUS.

About NSFOCUS

NSFOCUS, Inc., a global network and cyber security leader, protects enterprises and carriers from advanced cyber attacks. The company’s Intelligent Hybrid Security strategy utilizes both cloud and on-premises security platforms, built on a foundation of real-time global threat intelligence, to provide multi-layered, unified and dynamic protection against advanced cyber attacks.

NSFOCUS works with Fortune Global 500 companies, including four of the world’s five largest financial institutions, organizations in insurance, retail, healthcare, critical infrastructure industries as well as government agencies. NSFOCUS has technology and channel partners in more than 60 countries, is a member of both the Microsoft Active Protections Program (MAPP), and the Cloud Security Alliance (CSA).

A wholly owned subsidiary of NSFOCUS Technologies Group Co., Ltd., the company has operations in the Americas, Europe, the Middle East and Asia Pacific.