{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-18365 exists.","fix":"No fix has been published for CVE-2017-18365 yet. Limit exposure of the affected software until one is available.","what":"CVE-2017-18365 is a critical unsafe deserialization vulnerability in n/a, published on 28 Mar 2019. 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-18365 and fix it if it is affected.\n\nWhat it is: CVE-2017-18365 is a critical unsafe deserialization vulnerability in n/a, published on 28 Mar 2019. 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-2017-18365 exists.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-18365/ (Markdown: https://insights.sbomify.com/CVE-2017-18365/index.md)","id":"CVE-2017-18365","markdown":"https://insights.sbomify.com/CVE-2017-18365/index.md","name":"CVE-2017-18365","record":{"aliases":["GHSA-cg2q-c8hj-pqc3"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"GitHub Enterprise","requires_auth":"none","summary":"Unauthenticated attackers can execute arbitrary code on GitHub Enterprise by exploiting a deserialization flaw in the Management Console using a hardcoded secret.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"github","vendor":"github"}],"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-502","name":"Deserialization of Untrusted Data"}],"description":"The Management Console in GitHub Enterprise 2.8.x before 2.8.7 has a deserialization issue that allows unauthenticated remote attackers to execute arbitrary code. This occurs because the enterprise session secret is always the same, and can be found in the product's source code. By sending a crafted cookie signed with this secret, one can call Marshal.load with arbitrary data, which is a problem because the Marshal data format allows Ruby objects.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2017-03-15","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2017-03-15","kind":"metasploit","ref":"exploit/linux/http/github_enterprise_secret","stars":null,"title":"Github Enterprise Default Session Secret And Deserialization Vulnerability"}],"tier":"weaponised"},"has_fix":null,"headline":"Deserialization in n/a","id":"CVE-2017-18365","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"deserialization","year":"2017"},"n_packages":0,"n_references":2,"next":{"headline":"Subrion CMS vulnerable to CSRF in blog/delete","id":"CVE-2017-18366"},"packages":[],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2017-18364"},"products":["n/a"],"published":"2019-03-28","related":[{"cvss_score":9.8,"headline":"Improper access control in GitHub Enterprise Server leading to privilege escalation of organization member","id":"CVE-2020-10516","kev_date_added":null,"published":"2020-06-03"},{"cvss_score":8.8,"headline":"Unsafe configuration options in GitHub Pages leading to remote code execution on GitHub Enterprise Server","id":"CVE-2020-10519","kev_date_added":null,"published":"2021-03-03"},{"cvss_score":8.8,"headline":"Unsafe configuration options in GitHub Pages leading to remote code execution on GitHub Enterprise Server","id":"CVE-2020-10518","kev_date_added":null,"published":"2020-08-27"},{"cvss_score":8.1,"headline":"Missing authorization in GitHub Enterprise Server","id":"CVE-2021-22863","kev_date_added":null,"published":"2021-03-03"},{"cvss_score":7.5,"headline":"Missing authorization in n/a","id":"CVE-2012-2055","kev_date_added":null,"published":"2012-04-04"},{"cvss_score":6.5,"headline":"Improper access control in GitHub Enterprise Server leading to unauthorized write access to forkable repositories","id":"CVE-2021-22861","kev_date_added":null,"published":"2021-03-03"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Unauthenticated attackers can execute arbitrary code on GitHub Enterprise by exploiting a deserialization flaw in the Management Console using a hardcoded secret.","url":"https://insights.sbomify.com/CVE-2017-18365/"}