Packages / ms / Security

ModerateVulnerabilityGHSA-w9mr-4mfr-499fCVE-2017-20162Published 5 Jan 2023

Vercel ms Inefficient Regular Expression Complexity vulnerability

Your version

Affected releases · ms

  • 1.x and older0.1.0 – 1.0.0No fix, no longer updated

1.x has no fix yet; the newest fixed line:

npm install ms@2.0.0
Every release on a timeline
2.x
  1. Not affected

    2.0.0 – 2.1.3

    5 releases, latest

1.x
  1. Affected

    1.0.0

    1 release

0.x
  1. Affected

    0.1.0 – 0.7.3

    13 releases

19 stable releases of ms, oldest to newest, one row per major.

What happens

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 caae298. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-217451.