GitHub Advisoryadvisory · npm

GHSA-w9mr-4mfr-499f Vercel ms Inefficient Regular Expression Complexity vulnerability

MEDIUM Published 2023-01-05 Modified 2025-11-04 Official page ↗
Aliases
CVE-2017-20162
Ecosystem
npm
Packages
ms
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weaknesses
CWE-1333
Reviewed
2023-01-10

Affected packages

• npm ms: < 2.0.0 → fixed in 2.0.0

Description

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.

Related

Alias · CVE (1)

  • CVE-2017-20162 A vulnerability, which was classified as problematic, has been found in vercel ms up to 1.x. vulnerability

Weakness · CWE (1)

  • CWE-1333 Inefficient Regular Expression Complexity weakness

References