{"schemaVersion":3,"id":"CVE-2023-6021","aliases":["GHSA-3pww-qvr8-6mhp","PYSEC-2026-515"],"status":"published","duplicateOf":null,"title":null,"description":"LFI in Ray's log API endpoint allows attackers to read any file on the server without authentication. The issue is fixed in version 2.8.1+. Ray maintainers' response can be found here: https://www.anyscale.com/blog/update-on-ray-cves-cve-2023-6019-cve-2023-6020-cve-2023-6021-cve-2023-48022-cve-2023-48023","dates":{"published":"2023-11-16T16:11:42.969Z","modified":"2024-11-27T17:07:03.555Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Pypi","score":9.3,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N","exploitability":10,"impact":7.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.37076,"percentile":0.98509,"severity":"high","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.37076},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.37076,"percentile":0.98509}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.37076,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.37076,"percentile":0.98509}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_0EEBF00FB21016CE","name":"Exploit Reference (huntr.com)","source":"reference","url":"https://huntr.com/bounties/5039c045-f986-4cbc-81ac-370fe4b0d3f8","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-29","name":"Path Traversal: '\\..\\filename'","description":"The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize '\\..\\filename' (leading backslash dot dot) sequences that can resolve to a location that is outside of that directory.","type":"weakness","status":"Incomplete","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/29.html"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"PyPI","product":"ray","name":"ray","label":"ray","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/ray","purlType":"pypi","versions":[{"text":"< 2.8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.1","eol":null,"hubHref":null},{"vendor":"ray_project","product":"ray","name":"ray","label":"ray","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/ray_project/ray"},{"vendor":"ray-project","product":"ray-project/ray","name":"ray-project/ray","label":"ray-project/ray","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, ≤ latest","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, ≤ latest","eol":null,"hubHref":"/vendor/ray-project/ray-projectray"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://huntr.com/bounties/5039c045-f986-4cbc-81ac-370fe4b0d3f8","label":"huntr.com/bounties/5039c045-f986-4cbc-81ac-370fe4b0d3f8","hostname":"huntr.com","tags":["WEB","Exploit"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6021","label":"nvd.nist.gov/vuln/detail/CVE-2023-6021","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/ray-project/ray","label":"github.com/ray-project/ray","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/ray-project/ray/releases/tag/ray-2.8.1","label":"github.com/ray-project/ray/releases/tag/ray-2.8.1","hostname":"github.com","tags":["WEB"]},{"url":"https://www.anyscale.com/blog/update-on-ray-cves-cve-2023-6019-cve-2023-6020-cve-2023-6021-cve-2023-48022-cve-2023-48023","label":"www.anyscale.com/blog/…","hostname":"www.anyscale.com","tags":["WEB"]},{"url":"https://pypi.org/project/ray","label":"pypi.org/project/ray","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-3pww-qvr8-6mhp","label":"github.com/advisories/GHSA-3pww-qvr8-6mhp","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-11-16T16:11:42.969Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-11-27T17:07:03.555Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":47,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T01:20:31.565Z","stale":false,"partial":false}}