Absolute Path Traversal in tar - CVE-2021-32804
Published: November 17, 2021
tar
Planning Analytics Local
App Connect Enterprise Certified Container
Netcool Operations Insight
QRadar User Behavior Analytics
QRadar Pulse App
QRadar Suite
IBM Watson Machine Learning Accelerator
QRadar Deployment Intelligence App
SUSE CaaS Platform
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Manager Proxy
SUSE Enterprise Storage
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for IBM z Systems
Anolis OS
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Web Scripting
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Server for SAP
IBM Edge Application Manager
SINEC INS
nodejs-nodemon
nodejs-common
rh-nodejs14-nodejs-nodemon (Red Hat package)
rh-nodejs12-nodejs-nodemon (Red Hat package)
npm
nodejs8-docs
nodejs8
nodejs8-debuginfo
nodejs8-debugsource
nodejs8-devel
npm8
npm10
nodejs10-docs
nodejs10-devel
nodejs10-debugsource
nodejs10-debuginfo
nodejs10
nodejs-docs
nodejs
nodejs-devel
nodejs-full-i18n
rh-nodejs12-nodejs (Red Hat package)
nodejs12-docs
nodejs12
nodejs12-debuginfo
nodejs12-debugsource
npm12
nodejs12-devel
rh-nodejs14-nodejs (Red Hat package)
npm14
nodejs14-devel
nodejs14-debugsource
nodejs14-debuginfo
nodejs14
nodejs14-docs
nodejs-packaging
IBM Cloud Pak System
IBM QRadar Data Synchronization App
OpenShift Data Foundation (formerly OpenShift Container Storage)
Detailed vulnerability description
The vulnerability allows a remote attacker to overwrite arbitrary files on the system.
The vulnerability exists due to a logic issue when file paths contained repeated path roots such as ////home/user/.bashrc. node-tar
would only strip a single path root from such paths. When given an
absolute file path with repeating path roots, the resulting path (e.g. ///home/user/.bashrc) would still resolve to an absolute path, thus allowing arbitrary file creation and overwrite.