{"answers":{"affected":"3 open source packages ship an affected version, including ray. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-48022 exists.","fix":"Change a configuration setting.","what":"CVE-2023-48022 is a critical server-side request forgery vulnerability in n/a, published on 28 Nov 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-48022 and fix it if it is affected.\n\nWhat it is: CVE-2023-48022 is a critical server-side request forgery vulnerability in n/a, published on 28 Nov 2023. 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-2023-48022 exists.\n\nAffected packages and fixed versions:\n- ray (PyPI): affected all versions up to 2.49.2; no fix listed\n- ray (PyPI): affected all versions up to 2.49.2; no fix listed\n- ray (PyPI): affected all versions up to 2.49.2; no fix listed\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-2023-48022/ (Markdown: https://insights.sbomify.com/CVE-2023-48022/index.md)","id":"CVE-2023-48022","markdown":"https://insights.sbomify.com/CVE-2023-48022/index.md","name":"CVE-2023-48022","record":{"aliases":["CVE-2024-57000","GHSA-6wgj-66m2-xxp2","MINI-272g-gqhc-wpg6","PYSEC-2026-517"],"analysis":{"component_type":"library","fix_type":"configuration_change","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Ray distributed computing","requires_auth":"none","summary":"Remote attackers can execute arbitrary code via the job submission API in Ray, requiring network isolation or token authentication for mitigation.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ray","vendor":"anyscale"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"Anyscale Ray 2.6.3 and 2.8.0 allows a remote attacker to execute arbitrary code via the job submission API. NOTE: the vendor's position is that this report is irrelevant because Ray, as stated in its documentation, is not intended for use outside of a strictly controlled network environment. (Also, within that environment, customers at version 2.52.0 and later can choose to use token authentication.)","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":"2023-11-15","github_poc":2,"max_poc_stars":7,"metasploit":1,"nuclei":1,"refs":[{"date":"2024-03-29T09:54:31Z","kind":"github_poc","ref":"https://github.com/jakabakos/ShadowRay-RCE-PoC-CVE-2023-48022","stars":7,"title":"ShadowRay RCE POC (CVE-2023-48022)"},{"date":"2024-01-10T06:26:01Z","kind":"github_poc","ref":"https://github.com/0x656565/CVE-2023-48022","stars":2,"title":"CVE-2023-48022 exploit modified from Bishop Fox work"},{"date":"2023-11-15","kind":"metasploit","ref":"exploit/linux/http/ray_agent_job_rce","stars":null,"title":"Ray Agent Job RCE"},{"date":null,"kind":"nuclei","ref":"http/cves/2023/CVE-2023-48022.yaml","stars":null,"title":"Anyscale Ray - Remote Code Execution"}],"tier":"weaponised"},"has_fix":true,"headline":"Ray has arbitrary code execution via jobs submission API","id":"CVE-2023-48022","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"ssrf","year":"2023"},"n_packages":3,"n_references":5,"next":{"headline":"Server-side request forgery in n/a","id":"CVE-2023-48023"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["2.49.2"],"package":"ray","purl":null,"source":"GHSA-6wgj-66m2-xxp2"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["2.49.2"],"package":"ray","purl":"pkg:pypi/ray","source":"GHSA-6wgj-66m2-xxp2"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["2.49.2"],"package":"ray","purl":"pkg:pypi/ray","source":"PYSEC-2026-517"}],"prev":{"headline":"Cross-site request forgery in n/a","id":"CVE-2023-48021"},"products":["n/a"],"published":"2023-11-28","related":[{"cvss_score":9.4,"headline":"Ray-Project Ray Code Injection","id":"CVE-2025-62593","kev_date_added":"2026-08-17","published":"2025-11-26"},{"cvss_score":9.1,"headline":"Server-side request forgery in n/a","id":"CVE-2023-48023","kev_date_added":null,"published":"2023-11-28"},{"cvss_score":8.9,"headline":"Ray: Remote Code Execution via Parquet Arrow Extension Type Deserialization","id":"CVE-2026-41486","kev_date_added":null,"published":"2026-05-08"},{"cvss_score":8.7,"headline":"Ray Dashboard \u003c= 2.8.0 Path Traversal Leading to Local File Disclosure","id":"CVE-2026-32981","kev_date_added":null,"published":"2026-03-17"},{"cvss_score":8.6,"headline":"Ray \u003c 2.56.0 Unsafe Deserialization RCE via WebDataset Reader","id":"CVE-2026-57516","kev_date_added":null,"published":"2026-07-01"},{"cvss_score":5.9,"headline":"Ray: Dashboard DELETE endpoints allow unauthenticated browser-triggered DoS (Serve shutdown / job deletion)","id":"CVE-2026-27482","kev_date_added":null,"published":"2026-02-21"}],"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":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"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"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-12-17","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code via the job submission API in Ray, requiring network isolation or token authentication for mitigation.","url":"https://insights.sbomify.com/CVE-2023-48022/"}