{"answers":{"affected":"2 open source packages ship an affected version, including rest-client. It affects 1 product.","exploited":"There is no known exploitation of CVE-2015-1820 in the wild and no public exploit code.","fix":"Upgrade rest-client to 1.8.0 or later.","what":"CVE-2015-1820 is a critical vulnerability in n/a, published on 9 Aug 2017."},"fix_prompt":"Check this codebase for CVE-2015-1820 and fix it if it is affected.\n\nWhat it is: CVE-2015-1820 is a critical vulnerability in n/a, published on 9 Aug 2017. \nExploitation: There is no known exploitation of CVE-2015-1820 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- rest-client (RubyGems): affected from 1.6.1.a; fixed in 1.8.0\n- rest-client (RubyGems): affected from 1.6.1.a; fixed in 1.8.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-2015-1820/ (Markdown: https://insights.sbomify.com/CVE-2015-1820/index.md)","id":"CVE-2015-1820","markdown":"https://insights.sbomify.com/CVE-2015-1820/index.md","name":"CVE-2015-1820","record":{"aliases":["DEBIAN-CVE-2015-1820","GHSA-3fhf-6939-qg8p"],"analysis":null,"analysis_generated_by":null,"assigner":"redhat","cpe":[{"product":"rest-client","vendor":"rest-client_project"}],"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-384","name":"Session Fixation"}],"description":"REST client for Ruby (aka rest-client) before 1.8.0 allows remote attackers to conduct session fixation attacks or obtain sensitive cookie information by leveraging passage of cookies set in a response to a redirect.","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":"rest-client Gem Vulnerable to Session Fixation","id":"CVE-2015-1820","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":null,"year":"2015"},"n_packages":2,"n_references":4,"next":{"headline":"Memory corruption in n/a","id":"CVE-2015-1821"},"packages":[{"ecosystem":"RubyGems","fixed":["1.8.0"],"introduced":["1.6.1.a"],"last_affected":[],"package":"rest-client","purl":null,"source":"GHSA-3fhf-6939-qg8p"},{"ecosystem":"RubyGems","fixed":["1.8.0"],"introduced":["1.6.1.a"],"last_affected":[],"package":"rest-client","purl":"pkg:gem/rest-client","source":"GHSA-3fhf-6939-qg8p"}],"prev":{"headline":"Nokogiri vulnerable to libxml XML Entity Expansion","id":"CVE-2015-1819"},"products":["n/a"],"published":"2017-08-09","related":[{"cvss_score":9.8,"headline":"rest-client Gem Contains Malicious Code","id":"CVE-2019-15224","kev_date_added":null,"published":"2019-08-19"},{"cvss_score":2.1,"headline":"rest-client allows local users to obtain sensitive information by reading the log","id":"CVE-2015-3448","kev_date_added":null,"published":"2015-04-29"}],"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-08-06","vendors":["n/a"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2015-1820/"}