{"answers":{"affected":"2 open source packages ship an affected version, including nossrf. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-2691 exists.","fix":"Upgrade nossrf to 1.0.4 or later.","what":"CVE-2025-2691 is a high-severity server-side request forgery vulnerability in nossrf, published on 23 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-2691 and fix it if it is affected.\n\nWhat it is: CVE-2025-2691 is a high-severity server-side request forgery vulnerability in nossrf, published on 23 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-2691 exists.\n\nAffected packages and fixed versions:\n- nossrf (npm): affected all versions; fixed in 1.0.4\n- nossrf (npm): affected all versions; fixed in 1.0.4\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-2025-2691/ (Markdown: https://insights.sbomify.com/CVE-2025-2691/index.md)","id":"CVE-2025-2691","markdown":"https://insights.sbomify.com/CVE-2025-2691/index.md","name":"CVE-2025-2691","record":{"aliases":["GHSA-vm77-mr48-27wj"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"npm SSRF protection library","requires_auth":"none","summary":"An attacker can bypass SSRF protections in the nossrf library by using hostnames that resolve to local or reserved IP addresses.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"snyk","cpe":[{"product":"nossrf","vendor":"nossrf_project"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"Versions of the package nossrf before 1.0.4 are vulnerable to Server-Side Request Forgery (SSRF) where an attacker can provide a hostname that resolves to a local or reserved IP address space and bypass the SSRF protection mechanism.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"nossrf Server-Side Request Forgery (SSRF)","id":"CVE-2025-2691","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"ssrf","year":"2025"},"n_packages":2,"n_references":1,"next":{"headline":"IBM Sterling B2B Integrator cross-site scripting","id":"CVE-2025-2694"},"packages":[{"ecosystem":"npm","fixed":["1.0.4"],"introduced":["0"],"last_affected":[],"package":"nossrf","purl":null,"source":"GHSA-vm77-mr48-27wj"},{"ecosystem":"npm","fixed":["1.0.4"],"introduced":["0"],"last_affected":[],"package":"nossrf","purl":"pkg:npm/nossrf","source":"GHSA-vm77-mr48-27wj"}],"prev":{"headline":"yiisoft Yii2 MockClass.php generate deserialization","id":"CVE-2025-2690"},"products":["nossrf"],"published":"2025-03-23","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-03","vendors":["n/a"]},"summary":"An attacker can bypass SSRF protections in the nossrf library by using hostnames that resolve to local or reserved IP addresses.","url":"https://insights.sbomify.com/CVE-2025-2691/"}