CVE-2017-20162vercel 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.
What to do
Fixed builds are available from npm: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | npm | Fix pending | UBUNTU-CVE-2017-20162 | |
| Ubuntu 26.10 | qt6-webengine | Fix pending | UBUNTU-CVE-2017-20162 | |
| Ubuntu 26.04 | chromium-browser | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | npm | Under investigation | UBUNTU-CVE-2017-20162 | |
| Ubuntu 26.04 | qt6-webengine | Under investigation | UBUNTU-CVE-2017-20162 | |
| Ubuntu 25.10 | chromium-browser | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | npm | Will not fix The Debian chromium source package is called chromium-browser in Ubuntu starting with Ubuntu 19.10, the chromium-browser package is just a script that… | UBUNTU-CVE-2017-20162 | |
| Ubuntu 25.10 | qt6-webengine | Will not fix The Debian chromium source package is called chromium-browser in Ubuntu starting with Ubuntu 19.10, the chromium-browser package is just a script that… | UBUNTU-CVE-2017-20162 | |
| Ubuntu 24.04 | chromium-browser | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | npm | Under investigation | UBUNTU-CVE-2017-20162 | |
| Ubuntu 24.04 | qt6-webengine | Under investigation | UBUNTU-CVE-2017-20162 | |
| Ubuntu 22.04 | chromium-browser | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | npm | Under investigation | UBUNTU-CVE-2017-20162 | |
| Ubuntu 22.04 | qt6-webengine | Under investigation | UBUNTU-CVE-2017-20162 | |
| Ubuntu 20.04 | chromium-browser | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | npm | Will not fix The Debian chromium source package is called chromium-browser in Ubuntu starting with Ubuntu 19.10, the chromium-browser package is just a script that… | UBUNTU-CVE-2017-20162 | |
| Ubuntu 18.04 | chromium-browser | Will not fix The Debian chromium source package is called chromium-browser in Ubuntu starting with Ubuntu 19.10, the chromium-browser package is just a script that… | ||
| Ubuntu 18.04 | npm | Fix pending | UBUNTU-CVE-2017-20162 | |
| Ubuntu 16.04 | chromium-browser | Will not fix The Debian chromium source package is called chromium-browser in Ubuntu starting with Ubuntu 19.10, the chromium-browser package is just a script that… | ||
| Ubuntu 16.04 | npm | Will not fix The Debian chromium source package is called chromium-browser in Ubuntu starting with Ubuntu 19.10, the chromium-browser package is just a script that… | UBUNTU-CVE-2017-20162 | |
| Ubuntu 14.04 | chromium-browser | Will not fix The Debian chromium source package is called chromium-browser in Ubuntu starting with Ubuntu 19.10, the chromium-browser package is just a script that… | ||
| Ubuntu 14.04 | npm | Will not fix The Debian chromium source package is called chromium-browser in Ubuntu starting with Ubuntu 19.10, the chromium-browser package is just a script that… | UBUNTU-CVE-2017-20162 | |
| npm library | ms | Fixed | 2.0.0 | GHSA-w9mr-4mfr-499f |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- vercel ms: affected: 1.x
Vendor advisories:
- https://github.com/vercel/ms/commit/caae2988ba2a37765d055c4eee63d383320ee662 (patch)
- https://github.com/vercel/ms/releases/tag/2.0.0 (patch)
References
- https://vuldb.com/?id.217451
- https://vuldb.com/?ctiid.217451
- https://github.com/vercel/ms/pull/89
- https://github.com/vercel/ms/commit/caae2988ba2a37765d055c4eee63d383320ee662
- https://github.com/vercel/ms/releases/tag/2.0.0
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.