{"answers":{"affected":"24 open source packages ship an affected version, including recurly. It affects 1 product.","exploited":"There is no known exploitation of CVE-2017-0905 in the wild and no public exploit code.","fix":"Upgrade recurly to a fixed version for your release line: 2.0.13, 2.1.11, 2.10.4 or 2.11.3.","what":"CVE-2017-0905 is a critical server-side request forgery vulnerability in recurly ruby gem, published on 13 Nov 2017. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-0905 and fix it if it is affected.\n\nWhat it is: CVE-2017-0905 is a critical server-side request forgery vulnerability in recurly ruby gem, published on 13 Nov 2017. 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-2017-0905 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- recurly (RubyGems): affected from 2.0.0; fixed in 2.0.13\n- recurly (RubyGems): affected from 2.0.0; fixed in 2.0.13\n- recurly (RubyGems): affected from 2.1.0; fixed in 2.1.11\n- recurly (RubyGems): affected from 2.1.0; fixed in 2.1.11\n- recurly (RubyGems): affected from 2.10.0; fixed in 2.10.4\n- recurly (RubyGems): affected from 2.10.0; fixed in 2.10.4\n- recurly (RubyGems): affected from 2.11.0; fixed in 2.11.3\n- recurly (RubyGems): affected from 2.11.0; fixed in 2.11.3\n- recurly (RubyGems): affected from 2.2.0; fixed in 2.2.5\n- recurly (RubyGems): affected from 2.2.0; fixed in 2.2.5\n- recurly (RubyGems): affected from 2.3.0; fixed in 2.3.10\n- recurly (RubyGems): affected from 2.3.0; fixed in 2.3.10\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-2017-0905/ (Markdown: https://insights.sbomify.com/CVE-2017-0905/index.md)","id":"CVE-2017-0905","markdown":"https://insights.sbomify.com/CVE-2017-0905/index.md","name":"CVE-2017-0905","record":{"aliases":["GHSA-x27v-x225-gq8g"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Recurly Ruby library","requires_auth":"none","summary":"An SSRF vulnerability in the Recurly Ruby library allows attackers to compromise API keys and access critical resources.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"hackerone","cpe":[{"product":"recurly_client_ruby","vendor":"recurly"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"The Recurly Client Ruby Library before 2.0.13, 2.1.11, 2.2.5, 2.3.10, 2.4.11, 2.5.4, 2.6.3, 2.7.8, 2.8.2, 2.9.2, 2.10.4, 2.11.3 is vulnerable to a Server-Side Request Forgery vulnerability in the \"Resource#find\" method that could result in compromise of API keys or other critical resources.","ecosystems":["RubyGems"],"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":"Recurly gem Server-Side Request Forgery in Resource#find method","id":"CVE-2017-0905","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"ssrf","year":"2017"},"n_packages":24,"n_references":3,"next":{"headline":"Recurly vulnerable to SSRF","id":"CVE-2017-0906"},"packages":[{"ecosystem":"RubyGems","fixed":["2.0.13"],"introduced":["2.0.0"],"last_affected":[],"package":"recurly","purl":null,"source":"GHSA-x27v-x225-gq8g"},{"ecosystem":"RubyGems","fixed":["2.0.13"],"introduced":["2.0.0"],"last_affected":[],"package":"recurly","purl":"pkg:gem/recurly","source":"GHSA-x27v-x225-gq8g"},{"ecosystem":"RubyGems","fixed":["2.1.11"],"introduced":["2.1.0"],"last_affected":[],"package":"recurly","purl":null,"source":"GHSA-x27v-x225-gq8g"},{"ecosystem":"RubyGems","fixed":["2.1.11"],"introduced":["2.1.0"],"last_affected":[],"package":"recurly","purl":"pkg:gem/recurly","source":"GHSA-x27v-x225-gq8g"},{"ecosystem":"RubyGems","fixed":["2.10.4"],"introduced":["2.10.0"],"last_affected":[],"package":"recurly","purl":null,"source":"GHSA-x27v-x225-gq8g"},{"ecosystem":"RubyGems","fixed":["2.10.4"],"introduced":["2.10.0"],"last_affected":[],"package":"recurly","purl":"pkg:gem/recurly","source":"GHSA-x27v-x225-gq8g"},{"ecosystem":"RubyGems","fixed":["2.11.3"],"introduced":["2.11.0"],"last_affected":[],"package":"recurly","purl":null,"source":"GHSA-x27v-x225-gq8g"},{"ecosystem":"RubyGems","fixed":["2.11.3"],"introduced":["2.11.0"],"last_affected":[],"package":"recurly","purl":"pkg:gem/recurly","source":"GHSA-x27v-x225-gq8g"},{"ecosystem":"RubyGems","fixed":["2.2.5"],"introduced":["2.2.0"],"last_affected":[],"package":"recurly","purl":null,"source":"GHSA-x27v-x225-gq8g"},{"ecosystem":"RubyGems","fixed":["2.2.5"],"introduced":["2.2.0"],"last_affected":[],"package":"recurly","purl":"pkg:gem/recurly","source":"GHSA-x27v-x225-gq8g"},{"ecosystem":"RubyGems","fixed":["2.3.10"],"introduced":["2.3.0"],"last_affected":[],"package":"recurly","purl":null,"source":"GHSA-x27v-x225-gq8g"},{"ecosystem":"RubyGems","fixed":["2.3.10"],"introduced":["2.3.0"],"last_affected":[],"package":"recurly","purl":"pkg:gem/recurly","source":"GHSA-x27v-x225-gq8g"},{"ecosystem":"RubyGems","fixed":["2.4.11"],"introduced":["2.4.0"],"last_affected":[],"package":"recurly","purl":null,"source":"GHSA-x27v-x225-gq8g"},{"ecosystem":"RubyGems","fixed":["2.4.11"],"introduced":["2.4.0"],"last_affected":[],"package":"recurly","purl":"pkg:gem/recurly","source":"GHSA-x27v-x225-gq8g"},{"ecosystem":"RubyGems","fixed":["2.5.4"],"introduced":["2.5.0"],"last_affected":[],"package":"recurly","purl":null,"source":"GHSA-x27v-x225-gq8g"},{"ecosystem":"RubyGems","fixed":["2.5.4"],"introduced":["2.5.0"],"last_affected":[],"package":"recurly","purl":"pkg:gem/recurly","source":"GHSA-x27v-x225-gq8g"},{"ecosystem":"RubyGems","fixed":["2.6.3"],"introduced":["2.6.0"],"last_affected":[],"package":"recurly","purl":null,"source":"GHSA-x27v-x225-gq8g"},{"ecosystem":"RubyGems","fixed":["2.6.3"],"introduced":["2.6.0"],"last_affected":[],"package":"recurly","purl":"pkg:gem/recurly","source":"GHSA-x27v-x225-gq8g"},{"ecosystem":"RubyGems","fixed":["2.7.8"],"introduced":["2.7.0"],"last_affected":[],"package":"recurly","purl":null,"source":"GHSA-x27v-x225-gq8g"},{"ecosystem":"RubyGems","fixed":["2.7.8"],"introduced":["2.7.0"],"last_affected":[],"package":"recurly","purl":"pkg:gem/recurly","source":"GHSA-x27v-x225-gq8g"},{"ecosystem":"RubyGems","fixed":["2.8.2"],"introduced":["2.8.0"],"last_affected":[],"package":"recurly","purl":null,"source":"GHSA-x27v-x225-gq8g"},{"ecosystem":"RubyGems","fixed":["2.8.2"],"introduced":["2.8.0"],"last_affected":[],"package":"recurly","purl":"pkg:gem/recurly","source":"GHSA-x27v-x225-gq8g"},{"ecosystem":"RubyGems","fixed":["2.9.2"],"introduced":["2.9.0"],"last_affected":[],"package":"recurly","purl":null,"source":"GHSA-x27v-x225-gq8g"},{"ecosystem":"RubyGems","fixed":["2.9.2"],"introduced":["2.9.0"],"last_affected":[],"package":"recurly","purl":"pkg:gem/recurly","source":"GHSA-x27v-x225-gq8g"}],"prev":{"headline":"private_address_check vulnerable to bypass of Resolv.getaddresses method","id":"CVE-2017-0904"},"products":["recurly ruby gem"],"published":"2017-11-13","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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["Recurly"]},"summary":"An SSRF vulnerability in the Recurly Ruby library allows attackers to compromise API keys and access critical resources.","url":"https://insights.sbomify.com/CVE-2017-0905/"}