You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Observe the vulnerability warning related to path-to-regexp
Describe the bug
I’m encountering a security vulnerability related to the path-to-regexp package. I have identified that the version of path-to-regexp used in the @nuxtjs/tailwindcss package is affected by a high-severity security issue. Here are the details:
The @nuxtjs/tailwindcss package includes a dependency on tailwind-config-viewer, which in turn relies on @koa/router. The @koa/router package depends on an outdated version of path-to-regexp, which has a known vulnerability.
When running npm audit, the following warning is shown:
Environment
Reproduction
Steps to Reproduce:
Describe the bug
I’m encountering a security vulnerability related to the path-to-regexp package. I have identified that the version of path-to-regexp used in the @nuxtjs/tailwindcss package is affected by a high-severity security issue. Here are the details:
Affected Package: path-to-regexp
Vulnerable Versions: < 0.1.10, >= 0.2.0, < 1.9.0, >= 4.0.0, < 8.0.0, >= 2.0.0, < 3.3.0
Patched Version: 8.0.0
Additional context
The
@nuxtjs/tailwindcss
package includes a dependency ontailwind-config-viewer
, which in turn relies on@koa/router.
The@koa/router
package depends on an outdated version ofpath-to-regexp
, which has a known vulnerability.When running
npm audit
, the following warning is shown:Additional Info
I’ve tried using the overrides field in my package.json to force the update to 8.0.0
but this led to runtime errors as shown:
ERROR [unhandledRejection] pathToRegexp is not a function
Logs
No response
The text was updated successfully, but these errors were encountered: