Absolute Path Traversal in tar - CVE-2021-32804
Published: November 17, 2021
Vulnerability details
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.
Affected software
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)
How to mitigate CVE-2021-32804
App Connect Enterprise Certified Container - addressed in versions 1.1.4, 2.1
QRadar Pulse App - update to 2.2.9
Netcool Operations Insight - update to 1.6.5
QRadar Suite - update to 1.10.17.0
SINEC INS - update to 1.0.1.1
nodejs-nodemon - addressed in versions 1.18.3-1, 2.0.3-1
nodejs-common - update to 2.0-3.4.1
rh-nodejs14-nodejs-nodemon (Red Hat package) - update to 2.0.3-5.el7
rh-nodejs12-nodejs-nodemon (Red Hat package) - update to 2.0.3-5.el7
IBM Cloud Pak System - update to 2.3.3.5
IBM QRadar Data Synchronization App - update to 3.0.1
QRadar Deployment Intelligence App - update to 3.0.5
QRadar User Behavior Analytics - update to 4.1.11
OpenShift Data Foundation (formerly OpenShift Container Storage) - update to 4.9.0
npm - addressed in versions 6.14.14-1.12.22.5.1, 6.14.14-1.14.17.5.1
nodejs8-docs - addressed in versions 8.17.0-3.54.2, 8.17.0-10.19.2
nodejs8 - addressed in versions 8.17.0-3.54.2, 8.17.0-10.19.2
nodejs8-debuginfo - addressed in versions 8.17.0-3.54.2, 8.17.0-10.19.2
nodejs8-debugsource - addressed in versions 8.17.0-3.54.2, 8.17.0-10.19.2
nodejs8-devel - addressed in versions 8.17.0-3.54.2, 8.17.0-10.19.2
npm8 - addressed in versions 8.17.0-3.54.2, 8.17.0-10.19.2
npm10 - update to 10.24.1-1.46.1
nodejs10-docs - update to 10.24.1-1.46.1
nodejs10-devel - update to 10.24.1-1.46.1
nodejs10-debugsource - update to 10.24.1-1.46.1
nodejs10-debuginfo - update to 10.24.1-1.46.1
nodejs10 - update to 10.24.1-1.46.1
nodejs-docs - addressed in versions 12.22.5-1, 14.17.5-1
nodejs - addressed in versions 12.22.5-1, 14.17.5-1
nodejs-devel - addressed in versions 12.22.5-1, 14.17.5-1
nodejs-full-i18n - addressed in versions 12.22.5-1, 14.17.5-1
rh-nodejs12-nodejs (Red Hat package) - update to 12.22.5-1.el7
nodejs12-docs - addressed in versions 12.22.10-1.42.2, 12.22.10-4.29.3
nodejs12 - addressed in versions 12.22.10-1.42.2, 12.22.10-4.29.3
nodejs12-debuginfo - addressed in versions 12.22.10-1.42.2, 12.22.10-4.29.3
nodejs12-debugsource - addressed in versions 12.22.10-1.42.2, 12.22.10-4.29.3
npm12 - addressed in versions 12.22.10-1.42.2, 12.22.10-4.29.3
nodejs12-devel - addressed in versions 12.22.10-1.42.2, 12.22.10-4.29.3
rh-nodejs14-nodejs (Red Hat package) - update to 14.17.5-1.el7
npm14 - addressed in versions 14.19.0-6.24.1, 14.19.0-15.27.1
nodejs14-devel - addressed in versions 14.19.0-6.24.1, 14.19.0-15.27.1
nodejs14-debugsource - addressed in versions 14.19.0-6.24.1, 14.19.0-15.27.1
nodejs14-debuginfo - addressed in versions 14.19.0-6.24.1, 14.19.0-15.27.1
nodejs14 - addressed in versions 14.19.0-6.24.1, 14.19.0-15.27.1
nodejs14-docs - addressed in versions 14.19.0-6.24.1, 14.19.0-15.27.1
nodejs-packaging - addressed in versions 17-3, 23-3
External References
Related Security Bulletins
- Path traversal in NPM Tar
- Multiple vulnerabilities in Siemens SINEC INS
- Multiple vulnerabilities in IBM QRadar Data Synchronization App
- Path Traversal in IBM App Connect Enterprise Certified Container
- Multiple vulnerabilities in IBM Planning Analytics Workspace
- Multiple vulnerabilities in Netcool Operations Insight
- Multiple vulnerabilities in IBM QRadar Pulse for QRadar SIEM
- Red Hat Software Collections update for rh-nodejs14-nodejs and rh-nodejs14-nodejs-nodemon
- Red Hat Software Collections update for rh-nodejs12-nodejs and rh-nodejs12-nodejs-nodemon
- SUSE update for nodejs12
- SUSE update for nodejs8
- SUSE update for nodejs14
- SUSE update for nodejs10
- SUSE update for nodejs12
- SUSE update for nodejs8
- SUSE update for nodejs14
- Multiple vulnerabilities in IBM Edge Application Manager
- Multiple vulnerabilities in IBM QRadar User Behavior Analytics
- Multiple vulnerabilities in IBM QRadar Suite software
- Multiple vulnerabilities in IBM Watson Machine Learning Accelerator on Cloud Pak for Data
- Red Hat Enterprise Linux 8 update for the nodejs:12 module
- Red Hat Enterprise Linux 8 update for the nodejs:12 module
- Red Hat Enterprise Linux 8 update for the nodejs:12 module
- Red Hat Enterprise Linux 8 update for the nodejs:14 module
- Multiple vulnerabilities in OpenShift Data Foundation (formerly OpenShift Container Storage) 4.9
- Multiple vulnerabilities in IBM Cloud Pak System
- Multiple vulnerabilities in IBM QRadar Deployment Intelligence App
- Anolis OS update for nodejs:12 (Anolis OS 8.4) module
- Anolis OS update for nodejs:14 module
- Anolis OS update for nodejs:12 (Anolis OS 8.2) module