Path traversal in tar - CVE-2021-37701
Published: November 17, 2021
Vulnerability details
The vulnerability allows a remote attacker to overwrite arbitrary files on the system.
The vulnerability exists due to input validation error when extracting tar files that contained both a directory and a symlink with
the same name as the directory, where the symlink and directory names in
the archive entry used backslashes as a path separator on posix
systems. A remote attacker can create a specially crafted archive and overwrite arbitrary files on the system.
Affected software
Gentoo Linux
Red Hat Enterprise Linux for x86_64
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Server - TUS
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 Server - AUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
SUSE Linux Enterprise Module for Web Scripting
QRadar Pulse App
Red Hat Software Collections
QRadar Suite
IBM Watson Machine Learning Accelerator
QRadar Deployment Intelligence App
IBM Edge Application Manager
node-tar (Debian package)
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
rh-nodejs12-nodejs (Red Hat package)
rh-nodejs14-nodejs-nodemon (Red Hat package)
nodejs-nodemon
npm
nodejs12
nodejs12-docs
nodejs12-devel
nodejs12-debugsource
nodejs12-debuginfo
npm12
nodejs14-docs
nodejs14-devel
npm14
nodejs14-debugsource
nodejs14-debuginfo
nodejs14
rh-nodejs14-nodejs (Red Hat package)
nodejs
nodejs-devel
nodejs-full-i18n
nodejs-docs
nodejs-packaging
IBM Security Verify Governance
QRadar User Behavior Analytics
SINEC INS
IBM Cloud Pak System
IBM QRadar Data Synchronization App
OpenShift Data Foundation (formerly OpenShift Container Storage)
How to mitigate CVE-2021-37701
QRadar Pulse App - update to 2.2.9
QRadar Suite - update to 1.10.17.0
node-tar (Debian package) - update to 6.0.5+ds1+~cs11.3.9-1+deb11u2
rh-nodejs12-nodejs (Red Hat package) - update to 12.22.12-2.el7
SINEC INS - update to 1.0.1.1
rh-nodejs14-nodejs-nodemon (Red Hat package) - update to 2.0.3-6.el7
nodejs-nodemon - update to 2.0.15-1
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 - update to 6.14.15-1.14.18.2.2
nodejs12 - addressed in versions 12.22.7-4.22.1, 12.22.9-1.38.1
nodejs12-docs - addressed in versions 12.22.7-4.22.1, 12.22.9-1.38.1
nodejs12-devel - addressed in versions 12.22.7-4.22.1, 12.22.9-1.38.1
nodejs12-debugsource - addressed in versions 12.22.7-4.22.1, 12.22.9-1.38.1
nodejs12-debuginfo - addressed in versions 12.22.7-4.22.1, 12.22.9-1.38.1
npm12 - addressed in versions 12.22.7-4.22.1, 12.22.9-1.38.1
nodejs14-docs - addressed in versions 14.18.1-6.18.2, 14.18.1-15.21.2
nodejs14-devel - addressed in versions 14.18.1-6.18.2, 14.18.1-15.21.2
npm14 - addressed in versions 14.18.1-6.18.2, 14.18.1-15.21.2
nodejs14-debugsource - addressed in versions 14.18.1-6.18.2, 14.18.1-15.21.2
nodejs14-debuginfo - addressed in versions 14.18.1-6.18.2, 14.18.1-15.21.2
nodejs14 - addressed in versions 14.18.1-6.18.2, 14.18.1-15.21.2
rh-nodejs14-nodejs (Red Hat package) - update to 14.18.2-1.el7
nodejs - update to 14.18.2-2
nodejs-devel - update to 14.18.2-2
nodejs-full-i18n - update to 14.18.2-2
nodejs-docs - update to 14.18.2-2
nodejs-packaging - update to 23-3
External References
Related Security Bulletins
- Path traversal in NPM Tar
- Debian update for node-tar
- Multiple vulnerabilities in Siemens SINEC INS
- Multiple vulnerabilities in IBM QRadar Data Synchronization App
- Red Hat Software Collections update for rh-nodejs12-nodejs
- SUSE update for nodejs14
- SUSE update for nodejs12
- SUSE update for nodejs14
- SUSE update for nodejs12
- Multiple vulnerabilities in IBM Security Verify Governance
- Red Hat Enterprise Linux 8.4 Extended Update Support update for the nodejs:12 module
- Red Hat Enterprise Linux 8.2 Extended Update Support update for the nodejs:12 module
- Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions update for the nodejs:12 module
- Red Hat Enterprise Linux 8 update for the nodejs:12 module
- Multiple vulnerabilities in IBM QRadar Pulse for QRadar SIEM
- Red Hat Software Collections update for rh-nodejs14-nodejs and rh-nodejs14-nodejs-nodemon
- 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
- Gentoo update for Node.js
- Multiple vulnerabilities in OpenShift Data Foundation (formerly OpenShift Container Storage) 4.9
- Red Hat Enterprise Linux 8 update for the nodejs:14 module
- Red Hat Enterprise Linux 8 update for the nodejs:14 module
- Multiple vulnerabilities in IBM Cloud Pak System
- Multiple vulnerabilities in IBM QRadar Deployment Intelligence App
- Anolis OS update for nodejs:14 module