CVE-2017-20162: vercel ms index.js parse redos

Published Jan 5, 2023
·
Updated

A vulnerability, which was classified as problematic, has been found in vercel ms up to 1.x. This issue affects the function parse of the file index.js. The manipulation of the argument str leads to inefficient regular expression complexity. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 2.0.0 is able to address this issue. The name of the patch is caae2988ba2a37765d055c4eee63d383320ee662. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-217451.

Other sources

A vulnerability, which was classified as problematic, has been found in vercel ms up to 1.x. This issue affects the function parse of the file index.js. The manipulation of the argument str leads to inefficient regular expression complexity. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 2.0.0 is able to address this issue. The patch is named caae2988ba2a37765d055c4eee63d383320ee662. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-217451.

Vercel ms is vulnerable to a denial of service, caused by a regular expression denial of service (ReDoS) flaw in the function parse of the file index.js. By sending a specially-crafted regex input, a remote authenticated attacker could exploit this vulnerability to cause a denial of service condition.

IBM

Affected Software

8 affected componentsFixes available
npm/ms<2.0.0
2.0.0
IBM Data Virtualization on Cloud Pak for Data<=3.0
IBM Watson Query on Cloud Pak for Data<=2.2
IBM Watson Query on Cloud Pak for Data<=2.1
IBM Watson Query on Cloud Pak for Data<=2.0
IBM Data Virtualization on Cloud Pak for Data<=1.8
IBM Data Virtualization on Cloud Pak for Data<=1.7
vercel Ms Node.js<2.0.0

Event History

Jan 5, 2023
CVE Published
via MITRE·11:49 AM
Data Sourced
via MITRE·11:49 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
12:30 PM
Aug 15, 2025
Data Sourced
via IBM·03:29 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2017-20162?

The severity of CVE-2017-20162 is medium with a CVSS score of 5.3.

2

What is the affected software for CVE-2017-20162?

The affected software for CVE-2017-20162 is vercel ms up to version 1.x and node.js up to version 2.0.0.

3

How can the vulnerability in CVE-2017-20162 be exploited?

The vulnerability in CVE-2017-20162 can be exploited remotely by manipulating the argument 'str' to cause inefficient regular expression complexity.

4

What is the remedy for CVE-2017-20162?

The remedy for CVE-2017-20162 is to upgrade to version 2.0.0 of vercel ms.

5

Where can I find more information about CVE-2017-20162?

More information about CVE-2017-20162 can be found at the following references: [1](https://nvd.nist.gov/vuln/detail/CVE-2017-20162), [2](https://github.com/vercel/ms/pull/89), [3](https://github.com/vercel/ms/commit/caae2988ba2a37765d055c4eee63d383320ee662).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203