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

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.42%, higher than 84% of CVEs (2026-12-01)
- Published: 2022-06-18T20:51:12.000Z
- Modified: 2026-09-10T03:49:55.225Z
- Also known as: GHSA-pfrx-2q88-qq97
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- got (npm): from 12.0.0 before 12.1.0; before 11.8.5
- got_project got: before 11.8.5

## Every score

- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/sindresorhus/got/pull/2047> (patch, third-party-advisory, web)
- <https://github.com/sindresorhus/got/compare/v12.0.3...v12.1.0> (patch, third-party-advisory, web)
- <https://github.com/sindresorhus/got/releases/tag/v11.8.5> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-33987> (advisory)
- <https://github.com/sindresorhus/got/commit/861ccd9ac2237df762a9e2beed7edd88c60782dc> (web)
- <https://github.com/sindresorhus/got> (package)
- <https://github.com/sindresorhus/got/releases/tag/v12.1.0> (web)

## Sources

- CVE List: [CVE-2022-33987](https://www.cve.org/CVERecord?id=CVE-2022-33987), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-pfrx-2q88-qq97](https://github.com/advisories/GHSA-pfrx-2q88-qq97), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2022-33987](https://nvd.nist.gov/vuln/detail/CVE-2022-33987), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-33987 · Whole record: https://cve.day/CVE-2022-33987.json · Rebuilt by cve.day 2026-11-25T22:58:12.452Z
