KeygraphLabs · CVE MCP

CVE-2017-20162 · VulDB

vercel ms index.js parse redos

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.

Published 2023-01-05, last changed 2026-10-15. Weakness: CWE-1333.

CVSS
5.3
medium, from NVD
EPSS
1.06%
percentile 65.6%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: ms 2.0.0 (npm). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in vercel/ms by caae2988ba, pull request #89, 9b88d1568a. Functions changed by the fix: parse. Confidence: verified (a record names this commit as the fix, and it changed these functions).

Timeline

2023-01-05Published
2023-01-05Package advisory GHSA-w9mr-4mfr-499f
2026-10-15Record last changed
2026-11-30EPSS when our history starts: 1.06%
2026-12-03Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-w9mr-4mfr-499fms (npm)2.0.0

Also known as: GHSA-w9mr-4mfr-499f

Credited: VulDB GitHub Commit Analyzer (tool)

Related

CVEPublishedCVSSSummary
CVE-2015-83152017-01-237.5same package: ms (npm)
CVE-2026-1339372026-11-205.3highlight highlight.js Language Grammar livescript.js hljs.highlight redos
CVE-2026-1202172026-11-014.3Delgan loguru ANSI Color-Markup _colorizer.py AnsiParser.feed redos
CVE-2026-1123002026-10-196.9DiffSK configobj __init__.py _sectionmarker redos
CVE-2026-921142026-09-156.9a2ui-project a2ui Basic Catalog safe_regex.ts redos
CVE-2026-114782026-06-083.3kokke tiny-regex-c Pattern re.c matchstar redos
CVE-2026-106922026-06-034.3johnhuang316 code-index-mcp search_code_advanced is_safe_regex_pattern redos
CVE-2026-106912026-06-034.3wonderwhy-er DesktopCommanderMCP start_search search-manager.ts redos

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2017-20162, or call /api/v1/vulnerabilities/CVE-2017-20162. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org