Dependabot alerts: Got allows a redirect to a UNIX socket
See original GitHub issueThis warning appears in my projects:
Dependabot alerts: Got allows a redirect to a UNIX socket
The latest possible version that can be installed is 9.6.0 because of the following conflicting dependencies:
electron@19.0.6 requires got@^9.6.0 via @electron/get@1.14.1
electron-builder@23.1.0 requires got@^9.6.0 via a transitive dependency on package-json@6.5.0
nodemon@2.0.18 requires got@^9.6.0 via a transitive dependency on package-json@6.5.0
Is there anything that can be done?
Issue Analytics
- State:
- Created a year ago
- Reactions:10
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Got allows a redirect to a UNIX socket - Stack Overflow
@robertklep I'm getting the vulnerability warning while auditing my react app. I already tried npm audit fix --force but it gives me more ......
Read more >Got allows a redirect to a UNIX socket · CVE-2022-33987
Description. The got package before 11.8.5 and 12.1.0 for Node.js allows a redirect to a UNIX socket. References.
Read more >A Deep Dive of CVE-2022-33987 (Got allows a redirect to a ...
The purpose outlined was simple, users may want to make requests to sockets running on the local server. This is not all too...
Read more >Vulnerability Details : CVE-2022-33987
CVE-2022-33987 : The got package before 12.1.0 (also fixed in 11.8.5) for Node.js allows a redirect to a UNIX socket.
Read more >5 tips for prioritizing Dependabot alerts | The GitHub Blog
Here are some tips to more efficiently prioritize and take action on your alerts, so you can get back to building. 5 tips...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It would be nice to get this fixed by applying the already existing PR. I use Electron in a lot of my projects and it is a bit annoying to get audit warnings from NPM and from Github’s dependabot all the time because of this got issue.
In my opinion it is not a good practice to rely on old dependencies which seems to be no longer supported upstream. If you have strong reasons to stay at version 9 then maybe ask the author of got to publish a new patched version 9 to get this issue out of the way?
Looks like this problem is already fixed since @electron/get v2 which is used in electron v22. Problem is, electron 22 is not yet released (but installable with
npm i electron@beta
). So we just have to wait. There is nothing else to do.And I guess this ticket can be closed.