socket.io and engine.io dependencies still include vulnerable versions of cookie and path-to-regexp #39303
Open
2 tasks done
Labels
status: triage needed
Issue or pull request that need to be triaged and assigned to a reviewer
type: bug
An issue or pull request relating to a bug in Gatsby
Preliminary Checks
Description
While using Gatsby v5.14.3, npm audit still reports the following vulnerabilities:
cookie < 0.7.0: GHSA-pxg6-pf52-xh8x
path-to-regexp < 0.1.12: GHSA-rhx6-c78j-4q9w
These are coming from socket.io > engine.io, both used as part of Gatsby’s development server stack.
Would love to see these bumped or replaced in a future release to clean up audits and reduce noise in Dependabot PRs.
Thanks for all your hard work! Gatsby is awesome!
Reproduction Link
https://github.com/gatsbyjs/gatsby-starter-hello-world
Steps to Reproduce
npm install
.npm audit
.gatsby
→socket.io
andengine.io
.Expected Result
No known high or moderate vulnerabilities in default Gatsby dependency tree.
Actual Result
npm audit
reports high and moderate vulnerabilities caused by outdated versions ofcookie
andpath-to-regexp
inside Gatsby's dev dependencies (socket.io
andengine.io
).Environment
Config Flags
No custom flags used.
The text was updated successfully, but these errors were encountered: