MediumGHSA-pfrx-2q88-qq97CVE-2022-33987
Got allows a redirect to a UNIX socket
Published 19 Jun 2022 · Updated 10 Sept 2026
Affected packages
gotnpm
- Affected
- >=12.0.0 <12.1.0
- Fixed in
- 12.1.0
Update to the fixed version for your release line, for example:
npm install got@12.1.0gotnpm
- Affected
- <11.8.5
- Fixed in
- 11.8.5
Update to the fixed version for your release line, for example:
npm install got@11.8.5Details
The got package before 11.8.5 and 12.1.0 for Node.js allows a redirect to a UNIX socket.
Is GHSA-pfrx-2q88-qq97 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected got, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2022-33987
- Linkgithub.com/sindresorhus/got/pull/2047
- Linkgithub.com/sindresorhus/got/commit/861ccd9ac2237df762a9e2beed7edd88c60782dc
- Packagegithub.com/sindresorhus/got
- Linkgithub.com/sindresorhus/got/compare/v12.0.3...v12.1.0
- Linkgithub.com/sindresorhus/got/releases/tag/v11.8.5
- Linkgithub.com/sindresorhus/got/releases/tag/v12.1.0
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.