---
id: CVE-2017-20162
title: >-
  A vulnerability, which was classified as problematic, has been found in vercel
  ms up to 1.x
summary: >-
  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
  complex…
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L'
cwe:
  - CWE-1333
vendor: vercel
product: ms
affected:
  - ms < 2.0.0
patched:
  - ms 2.0.0
published: '2023-01-05'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T16:17:27.437'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2017-20162'
references:
  - url: >-
      https://github.com/vercel/ms/commit/caae2988ba2a37765d055c4eee63d383320ee662
    label: cna@vuldb.com
  - url: 'https://github.com/vercel/ms/pull/89'
    label: cna@vuldb.com
  - url: 'https://github.com/vercel/ms/releases/tag/2.0.0'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/?ctiid.217451'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/?id.217451'
    label: cna@vuldb.com
  - url: >-
      https://github.com/vercel/ms/commit/caae2988ba2a37765d055c4eee63d383320ee662
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/vercel/ms/pull/89'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/vercel/ms/releases/tag/2.0.0'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20241108-0002/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://vuldb.com/?ctiid.217451'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://vuldb.com/?id.217451'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-10-15T15:55:00.216371Z'
epss: 0.00989
epssPercentile: 0.61719
ingestedAt: '2026-10-15T16:13:10.820Z'
---

## Overview

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.

## Affected

- `ms < 2.0.0`

## Remediation

Upgrade past the affected range:

- `ms 2.0.0`
