Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. got
  4. ›
  5. CVE-2022-33987

CVE-2022-33987: Got allows a redirect to a UNIX socket

June 18, 2022 (updated June 28, 2022)

The got package before 12.1.0 (also fixed in 11.8.5) for Node.js allows a redirect to a UNIX socket.

References

  • github.com/advisories/GHSA-pfrx-2q88-qq97
  • github.com/sindresorhus/got/commit/861ccd9ac2237df762a9e2beed7edd88c60782dc
  • github.com/sindresorhus/got/compare/v12.0.3...v12.1.0
  • github.com/sindresorhus/got/pull/2047
  • github.com/sindresorhus/got/releases/tag/v11.8.5
  • github.com/sindresorhus/got/releases/tag/v12.1.0
  • nvd.nist.gov/vuln/detail/CVE-2022-33987

Code Behaviors & Features

Detect and mitigate CVE-2022-33987 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 11.8.5, all versions starting from 12.0.0 before 12.1.0

Fixed versions

  • 11.8.5
  • 12.1.0

Solution

Upgrade to versions 11.8.5, 12.1.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Source file

npm/got/CVE-2022-33987.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:15 +0000.