-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Description
Describe the bug
EDIT: New vulnerability is described here: CVE-2024-29415
The vulnerability is described here: GHSA-78xj-cgh5-2h22.
As far as I can see now, the ip package is used only ones in the core-server package here — https://github.com/storybookjs/storybook/blob/ece1fb269cc44f43a5384f986a2b9f48613b0095/code/lib/core-server/src/utils/server-address.ts#L13C1-L13C80
This can easily be swapped with some other package, like for instance https://www.npmjs.com/package/ip-address, the way socks' lib maintainer did here — https://github.com/JoshGlazebrook/socks/pull/94/files.
WDYT guys? Is it a good candidate for a quick fix? I could participate if necessary with the PR, for sure.
To Reproduce
Install any storybook flavour via npm (most of them depend on the vulnerable package through core-server)
System
No response
Additional context
No response
Metadata
Metadata
Assignees
Type
Projects
Status