mswjs / msw

Industry standard API mocking for JavaScript.
https://mswjs.io
MIT License
15.97k stars 519 forks source link

path-to-regex 6.3.0 version is being blocked by scanning applications #2294

Closed nickmorten closed 1 month ago

nickmorten commented 1 month ago

Prerequisites

Environment check

Browsers

No response

Reproduction repository

n/a

Reproduction steps

My organization's scanning software is reporting a high vulnerability with using path-to-regexp v6.3.0. We tried to override it to 8.0.0 or 8.1.0, but msw fails when we do that.

Current behavior

My organization's scanning software is reporting a high vulnerability with using path-to-regexp v6.3.0. We tried to override it to 8.0.0 or 8.1.0, but msw fails when we do that.

Expected behavior

We would like to continue using msw for mocking APIs and unit tests, but are currently blocked.

kettanaito commented 1 month ago

Hi. Please see https://github.com/mswjs/msw/issues/2270. The vulnerability fix has been backported to the version of path-to-regexp matching the semver used in MSW. Nothing we should do here.