{"answers":{"affected":"4 open source packages ship an affected version, including got. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-33987 in the wild and no public exploit code.","fix":"Upgrade got to a fixed version for your release line: 11.8.5 or 12.1.0.","what":"CVE-2022-33987 is a medium-severity server-side request forgery vulnerability in n/a, published on 18 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-33987 and fix it if it is affected.\n\nWhat it is: CVE-2022-33987 is a medium-severity server-side request forgery vulnerability in n/a, published on 18 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-33987 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- got (npm): affected all versions; fixed in 11.8.5\n- got (npm): affected all versions; fixed in 11.8.5\n- got (npm): affected from 12.0.0; fixed in 12.1.0\n- got (npm): affected from 12.0.0; fixed in 12.1.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-33987/ (Markdown: https://insights.sbomify.com/CVE-2022-33987/index.md)","id":"CVE-2022-33987","markdown":"https://insights.sbomify.com/CVE-2022-33987/index.md","name":"CVE-2022-33987","record":{"aliases":["CLEANSTART-2026-AM42302","CLEANSTART-2026-UC56558","CLSA-2026-1771891819","CLSA-2026-1773188113","CLSA-2026-1773706626","CLSA-2026-1784596291","CLSA-2026-1790876846","CLSA-2026-1792701218","DEBIAN-CVE-2022-33987","GHSA-pfrx-2q88-qq97","MINI-288c-q28w-759r","MINI-p49c-c263-hrrj","MINI-w7hp-x8xj-w332","ROOT-APP-NPM-CVE-2022-33987","UBUNTU-CVE-2022-33987"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js HTTP client","requires_auth":"none","summary":"The got HTTP client library allows Server-Side Request Forgery by redirecting requests to UNIX sockets, potentially exposing local services.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"got","vendor":"got_project"}],"cvss":{"score":5.3,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[],"description":"The got package before 12.1.0 (also fixed in 11.8.5) for Node.js allows a redirect to a UNIX socket.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Got allows a redirect to a UNIX socket","id":"CVE-2022-33987","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"ssrf","year":"2022"},"n_packages":4,"n_references":3,"next":{"headline":"Other in n/a","id":"CVE-2022-33988"},"packages":[{"ecosystem":"npm","fixed":["11.8.5"],"introduced":["0"],"last_affected":[],"package":"got","purl":null,"source":"GHSA-pfrx-2q88-qq97"},{"ecosystem":"npm","fixed":["11.8.5"],"introduced":["0"],"last_affected":[],"package":"got","purl":"pkg:npm/got","source":"GHSA-pfrx-2q88-qq97"},{"ecosystem":"npm","fixed":["12.1.0"],"introduced":["12.0.0"],"last_affected":[],"package":"got","purl":null,"source":"GHSA-pfrx-2q88-qq97"},{"ecosystem":"npm","fixed":["12.1.0"],"introduced":["12.0.0"],"last_affected":[],"package":"got","purl":"pkg:npm/got","source":"GHSA-pfrx-2q88-qq97"}],"prev":{"headline":"Race condition in n/a","id":"CVE-2022-33986"},"products":["n/a"],"published":"2022-06-18","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"The got HTTP client library allows Server-Side Request Forgery by redirecting requests to UNIX sockets, potentially exposing local services.","url":"https://insights.sbomify.com/CVE-2022-33987/"}