{"answers":{"affected":"2 open source packages ship an affected version, including io.prestosql:presto-server. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-15087 in the wild and no public exploit code.","fix":"Upgrade io.prestosql:presto-server to 337 or later.","what":"CVE-2020-15087 is a high-severity missing authorization vulnerability in prestosql Presto, published on 30 Jun 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2020-15087 and fix it if it is affected.\n\nWhat it is: CVE-2020-15087 is a high-severity missing authorization vulnerability in prestosql Presto, published on 30 Jun 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2020-15087 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- io.prestosql:presto-server (Maven): affected all versions; fixed in 337\n- io.prestosql:presto-server (Maven): affected all versions; fixed in 337\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-2020-15087/ (Markdown: https://insights.sbomify.com/CVE-2020-15087/index.md)","id":"CVE-2020-15087","markdown":"https://insights.sbomify.com/CVE-2020-15087/index.md","name":"CVE-2020-15087","record":{"aliases":["GHSA-f6pc-crhh-cp96"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"yes","non_default_config":true,"product_category":"Presto SQL engine","requires_auth":"none","summary":"Authenticated users can bypass authorization checks to escalate privileges in Presto servers configured with secure internal communication.","user_interaction":"required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"presto","vendor":"prestosql"}],"cvss":{"score":7.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"description":"In Presto before version 337, authenticated users can bypass authorization checks by directly accessing internal APIs. This impacts Presto server installations with secure internal communication configured. This does not affect installations that have not configured secure internal communication, as these installations are inherently insecure. This only affects Presto server installations. This does NOT affect clients such as the CLI or JDBC driver. This vulnerability has been fixed in version 337. Additionally, this issue can be mitigated by blocking network access to internal APIs on the coordinator and workers.","ecosystems":["Maven"],"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":"Privilege escalation in Presto","id":"CVE-2020-15087","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"missing_authorization","year":"2020"},"n_packages":2,"n_references":2,"next":{"headline":"Denial of Service in TenderMint","id":"CVE-2020-15091"},"packages":[{"ecosystem":"Maven","fixed":["337"],"introduced":["0"],"last_affected":[],"package":"io.prestosql:presto-server","purl":null,"source":"GHSA-f6pc-crhh-cp96"},{"ecosystem":"Maven","fixed":["337"],"introduced":["0"],"last_affected":[],"package":"io.prestosql:presto-server","purl":"pkg:maven/io.prestosql/presto-server","source":"GHSA-f6pc-crhh-cp96"}],"prev":{"headline":"Potential Remote Code Execution in TYPO3 with mediace extension","id":"CVE-2020-15086"},"products":["Presto"],"published":"2020-06-30","related":[],"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-04","vendors":["prestosql"]},"summary":"Authenticated users can bypass authorization checks to escalate privileges in Presto servers configured with secure internal communication.","url":"https://insights.sbomify.com/CVE-2020-15087/"}