Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. ms
  4. ›
  5. CVE-2017-20162

CVE-2017-20162: Inefficient Regular Expression Complexity

January 5, 2023 (updated January 10, 2023)

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.

References

  • github.com/advisories/GHSA-w9mr-4mfr-499f
  • github.com/vercel/ms/commit/caae2988ba2a37765d055c4eee63d383320ee662
  • github.com/vercel/ms/pull/89
  • github.com/vercel/ms/releases/tag/2.0.0
  • nvd.nist.gov/vuln/detail/CVE-2017-20162
  • vuldb.com/?ctiid.217451
  • vuldb.com/?id.217451

Code Behaviors & Features

Detect and mitigate CVE-2017-20162 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.0.0

Fixed versions

  • 2.0.0

Solution

Upgrade to version 2.0.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

npm/ms/CVE-2017-20162.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:15 +0000.