Incorrect Regular Expression in path-parse - CVE-2021-23343
Published: July 26, 2021 / Updated: August 10, 2021
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to insufficient input validation in splitDeviceRe, splitTailRe, and splitPathRe regular expressions. A remote attacker can pass specially crafted data to the application and perform regular expression denial of service (ReDos) attack.
Affected software
Planning Analytics Local
rhv-log-collector-analyzer (Red Hat package)
ovirt-web-ui (Red Hat package)
ovirt-engine-dwh (Red Hat package)
ovirt-engine (Red Hat package)
rhvm-branding-rhv (Red Hat package)
nodejs-path-parse
ovirt-engine-ui-extensions (Red Hat package)
ovirt-engine-extension-aaa-ldap (Red Hat package)
nodejs-nodemon
nodejs-common
rh-nodejs12-nodejs-nodemon (Red Hat package)
rh-nodejs14-nodejs-nodemon (Red Hat package)
npm
nodejs8-docs
npm8
nodejs8-devel
nodejs8-debugsource
nodejs8-debuginfo
nodejs8
nodejs10-docs
nodejs10
nodejs10-debuginfo
nodejs10-debugsource
nodejs10-devel
npm10
nodejs
nodejs-devel
nodejs-full-i18n
nodejs-docs
rh-nodejs12-nodejs (Red Hat package)
npm12
nodejs12-debuginfo
nodejs12-docs
nodejs12
nodejs12-devel
nodejs12-debugsource
rh-nodejs14-nodejs (Red Hat package)
nodejs14-debuginfo
nodejs14
nodejs14-debugsource
nodejs14-devel
npm14
nodejs14-docs
nodejs-packaging
Cloud Pak for Security (CP4S)
IBM QRadar Data Synchronization App
IBM Watson Machine Learning Accelerator
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Enterprise Storage
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 for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 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
openEuler
IBM Edge Application Manager
Red Hat Virtualization Manager
Splunk Enterprise
Red Hat Advanced Cluster Security for Kubernetes
QRadar User Behavior Analytics
How to mitigate CVE-2021-23343
rhv-log-collector-analyzer (Red Hat package) - update to 1.0.10-1.el8ev
ovirt-web-ui (Red Hat package) - update to 1.7.0-1.el8ev
Cloud Pak for Security (CP4S) - update to 1.10.13.0
IBM Watson Machine Learning Accelerator - update to 2.3.4
ovirt-engine-dwh (Red Hat package) - update to 4.4.7.3-1.el8ev
ovirt-engine (Red Hat package) - update to 4.4.7.6-0.11.el8ev
rhvm-branding-rhv (Red Hat package) - update to 4.4.9-1.el8ev
Splunk Enterprise - addressed in versions 8.2.12, 9.0.6, 9.1.1
nodejs-path-parse - update to 1.0.7-1
ovirt-engine-ui-extensions (Red Hat package) - update to 1.2.7-1.el8ev
ovirt-engine-extension-aaa-ldap (Red Hat package) - update to 1.4.4-1.el8ev
nodejs-nodemon - addressed in versions 1.18.3-1, 2.0.3-1
nodejs-common - update to 2.0-3.4.1
rh-nodejs12-nodejs-nodemon (Red Hat package) - update to 2.0.3-5.el7
rh-nodejs14-nodejs-nodemon (Red Hat package) - update to 2.0.3-5.el7
IBM QRadar Data Synchronization App - update to 3.0.1
Red Hat Advanced Cluster Security for Kubernetes - update to 3.67
QRadar User Behavior Analytics - update to 4.1.11
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
npm8 - 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
nodejs8-debugsource - 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 - addressed in versions 8.17.0-3.54.2, 8.17.0-10.19.2
nodejs10-docs - update to 10.24.1-1.46.1
nodejs10 - update to 10.24.1-1.46.1
nodejs10-debuginfo - update to 10.24.1-1.46.1
nodejs10-debugsource - update to 10.24.1-1.46.1
nodejs10-devel - update to 10.24.1-1.46.1
npm10 - update to 10.24.1-1.46.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
nodejs-docs - addressed in versions 12.22.5-1, 14.17.5-1
rh-nodejs12-nodejs (Red Hat package) - update to 12.22.5-1.el7
npm12 - 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-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-devel - 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
rh-nodejs14-nodejs (Red Hat package) - update to 14.17.5-1.el7
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-debugsource - 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
npm14 - 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
- https://github.com/jbgutierrez/path-parse/issues/8
- https://snyk.io/vuln/SNYK-JS-PATHPARSE-1077067
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1279028
- https://lists.apache.org/thread.html/r6a32cb3eda3b19096ad48ef1e7aa8f26e005f2f63765abb69ce08b85@%3Cdev.myfaces.apache.org%3E
- https://github.com/advisories/GHSA-hj48-42vr-x3v9
- https://www.npmjs.com/advisories/1773
Related Security Bulletins
- Denial of service in path-parse JavaScript library
- Multiple vulnerabilities in Red Hat Virtualization Manager
- Multiple vulnerabilities in IBM QRadar Data Synchronization App
- Multiple vulnerabilities in IBM Planning Analytics Workspace
- 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
- IBM Edge Application Manager update for path-parse
- Multiple vulnerabilities in IBM Cloud Pak for Security (CP4S)
- Splunk Enterprise update for third-party packages
- Multiple vulnerabilities in IBM QRadar User Behavior Analytics
- Multiple vulnerabilities in Watson Machine Learning Accelerator on Cloud Pak for Data
- openEuler 20.03 LTS SP1 update for nodejs-path-parse
- 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 Red Hat Advanced Cluster Security for Kubernetes 3.67
- 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