{"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-6020 exists.","fix":"Upgrade ray to 2.8.1 or later.","what":"CVE-2023-6020 is a high-severity path traversal vulnerability in ray-project/ray, published on 16 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-6020 and fix it if it is affected.\n\nWhat it is: CVE-2023-6020 is a high-severity path traversal vulnerability in ray-project/ray, published on 16 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-6020 exists.\n\nAffected packages and fixed versions:\n- ray (PyPI): affected all versions; fixed in 2.8.1\n- ray (PyPI): affected all versions; fixed in 2.8.1\n- ray (PyPI): affected all versions; fixed in 2.8.1\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-6020/ (Markdown: https://insights.sbomify.com/CVE-2023-6020/index.md)","id":"CVE-2023-6020","markdown":"https://insights.sbomify.com/CVE-2023-6020/index.md","name":"CVE-2023-6020","record":{"aliases":["GHSA-6cxr-8q3m-jwrr","PYSEC-2026-516"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Ray distributed computing","requires_auth":"none","summary":"Attackers can read arbitrary files on the server via path traversal in Ray's static file directory without authentication.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntr_ai","cpe":[{"product":"ray","vendor":"ray_project"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"description":"LFI in Ray's /static/ directory allows attackers to read any file on the server without authentication.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":"2023-11-15","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":1,"refs":[{"date":"2023-11-15","kind":"metasploit","ref":"auxiliary/gather/ray_lfi_cve_2023_6020","stars":null,"title":"Ray static arbitrary file read"},{"date":null,"kind":"nuclei","ref":"http/cves/2023/CVE-2023-6020.yaml","stars":null,"title":"Ray Static File - Local File Inclusion"}],"tier":"weaponised"},"has_fix":true,"headline":"Ray Static File Local File Include","id":"CVE-2023-6020","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2023"},"n_packages":3,"n_references":1,"next":{"headline":"Ray Log File Local File Include","id":"CVE-2023-6021"},"packages":[{"ecosystem":"PyPI","fixed":["2.8.1"],"introduced":["0"],"last_affected":[],"package":"ray","purl":null,"source":"GHSA-6cxr-8q3m-jwrr"},{"ecosystem":"PyPI","fixed":["2.8.1"],"introduced":["0"],"last_affected":[],"package":"ray","purl":"pkg:pypi/ray","source":"GHSA-6cxr-8q3m-jwrr"},{"ecosystem":"PyPI","fixed":["2.8.1"],"introduced":["0"],"last_affected":[],"package":"ray","purl":"pkg:pypi/ray","source":"PYSEC-2026-516"}],"prev":{"headline":"Ray Command Injection in cpu_profile Parameter","id":"CVE-2023-6019"},"products":["ray-project/ray"],"published":"2023-11-16","related":[{"cvss_score":9.8,"headline":"Ray Command Injection in cpu_profile Parameter","id":"CVE-2023-6019","kev_date_added":null,"published":"2023-11-16"},{"cvss_score":7.5,"headline":"Ray Log File Local File Include","id":"CVE-2023-6021","kev_date_added":null,"published":"2023-11-16"}],"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"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["ray-project"]},"summary":"Attackers can read arbitrary files on the server via path traversal in Ray's static file directory without authentication.","url":"https://insights.sbomify.com/CVE-2023-6020/"}