{"schemaVersion":3,"id":"CVE-2017-20162","aliases":["UBUNTU-CVE-2017-20162","GHSA-w9mr-4mfr-499f"],"status":"published","duplicateOf":null,"title":null,"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 patch is named caae2988ba2a37765d055c4eee63d383320ee662. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-217451.","dates":{"published":"2023-01-05T11:49:24.249Z","modified":"2026-10-15T15:55:14.375Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":4.3,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"CVE.org","score":3.5,"severity":"low","vector":"AV:N/AC:M/Au:S/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":3.5,"severity":"low","vector":"AV:N/AC:M/Au:S/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":10,"impact":2.3,"computed":true}]},"epss":{"probability":0.01018,"percentile":0.6297,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.029000000000000033,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00989},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01018,"percentile":0.6297}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01018,"percentile":0.6297}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_VERCEL_MS","name":"Ms","source":"github","url":"https://github.com/vercel/ms/pull/89","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity","description":"The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/1333.html"}],"affected":[{"vendor":"ubuntu","product":"npm","name":"npm","label":"npm","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/npm","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"qt6-webengine","name":"qt6-webengine","label":"qt6-webengine","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/qt6-webengine","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"Npm","product":"ms","name":"ms","label":"ms","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/ms","purlType":"npm","versions":[{"text":"< 2.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.0","eol":null,"hubHref":null},{"vendor":"vercel","product":"ms","name":"ms","label":"ms","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.0, < 2.0","noFixRecorded":false,"fixedIn":null},{"text":"< 2.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.0, < 2.0 | < 2.0.0","eol":null,"hubHref":"/vendor/vercel/ms"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://vuldb.com/?id.217451","label":"vuldb.com?id.217451","hostname":"vuldb.com","tags":["VDB Entry","Technical Description","Permissions Required","Third Party Advisory","WEB"]},{"url":"https://vuldb.com/?ctiid.217451","label":"vuldb.com?ctiid.217451","hostname":"vuldb.com","tags":["Signature","Permissions Required","Third Party Advisory","WEB"]},{"url":"https://github.com/vercel/ms/pull/89","label":"github.com/vercel/ms/pull/89","hostname":"github.com","tags":["Exploit","Issue Tracking","Patch","REPORT","WEB"]},{"url":"https://github.com/vercel/ms/commit/caae2988ba2a37765d055c4eee63d383320ee662","label":"github.com/vercel/ms/commit/caae2988ba2a37765d055c4eee63d383320ee662","hostname":"github.com","tags":["Patch","REPORT","WEB"]},{"url":"https://github.com/vercel/ms/releases/tag/2.0.0","label":"github.com/vercel/ms/releases/tag/2.0.0","hostname":"github.com","tags":["Patch","Release Notes","REPORT","WEB"]},{"url":"https://security.netapp.com/advisory/ntap-20241108-0002/","label":"security.netapp.com/advisory/ntap-20241108-0002/","hostname":"security.netapp.com","tags":[]},{"url":"https://ubuntu.com/security/CVE-2017-20162","label":"ubuntu.com/security/CVE-2017-20162","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-20162","label":"www.cve.org/CVERecord?id=CVE-2017-20162","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-20162","label":"nvd.nist.gov/vuln/detail/CVE-2017-20162","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/vercel/ms","label":"github.com/vercel/ms","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://security.netapp.com/advisory/ntap-20241108-0002","label":"security.netapp.com/advisory/ntap-20241108-0002","hostname":"security.netapp.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-01-05T11:49:24.249Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-15T15:55:14.375Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T16:50:26.615Z","stale":false,"partial":false}}