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.0
gotnpm
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.5

Details

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

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.