Vulnerabilities in pkg:maven/io.prestosql/presto-server
PACKAGECVE-2020-15087 is a HIGH (CVSS 7.4) privilege escalation vulnerability (CWE-285: Improper Authorization) affecting Presto server libraries in the Maven ecosystem. The issue involves privilege escalation in presto. Remediation is available by upgrading affected packages to version 337.
pkg:maven/io.prestosql/presto-server
Vulnerability advisories affecting package pkg:maven/io.prestosql/presto-server. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-f6pc-crhh-cp96 | CVE-2020-15087 | HIGH | Privilege escalation in Presto |
CVE-2020-15087 at a Glance
Security Impact
CVSS: 7.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N).
How to Fix CVE-2020-15087
To remediate this vulnerability, upgrade all affected Presto server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>io.prestosql</groupId>
<artifactId>presto-server</artifactId>
<version>337</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=io.prestosql
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2020-15087, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=io.prestosql
Analyze the terminal output to locate any version of Presto server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 337), your application is affected.
Note: The mvn dependency:tree -Dincludes=io.prestosql command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-285: Improper Authorization, where the product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action. In Presto server, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2020-15087 Affected Presto server Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
io.prestosql:presto-server
|
Maven |
< 337
|
337
|
References
Frequently Asked Questions
What is CVE-2020-15087?
Which Presto server versions are affected?
What version fixes CVE-2020-15087?
Is presto-server affected?
What is the CVSS score of CVE-2020-15087?
What CWE is associated with CVE-2020-15087?
How can I check Maven dependencies for CVE-2020-15087?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-f6pc-crhh-cp96",
"modified" : "2022-10-22T00:58:08Z",
"published" : "2020-06-30T16:33:23Z",
"aliases" : [ "CVE-2020-15087" ],
"summary" : "Privilege escalation in Presto",
"details" : "### Affected\nThis affects Presto server installations. This does NOT affect clients such as the CLI or JDBC driver.\n\n### Impact\nAuthenticated users can bypass authorization checks by directly accessing internal APIs. This impacts Presto server installations with secure internal communication configured.\n\nThis does not affect installations that have not configured secure internal communication, as these installations are inherently insecure.\n\n### Patches\nThis issue has been fixed starting with PrestoSQL version 337.\n\n### Workarounds\nThis issue can be mitigated by blocking network access to internal APIs on the coordinator and workers. \n\n### References\nSee the Presto documentation for [Secure Internal Communication](https://trino.io/docs/current/security/internal-communication.html).\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Join the **#security** channel on [Slack](https://trino.io/slack.html).\n* Contact the security team at [security@trino.io](mailto:security@trino.io)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "io.prestosql:presto-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "337"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/prestosql/presto/security/advisories/GHSA-f6pc-crhh-cp96"
}, {
"type" : "WEB",
"url" : "https://github.com/trinodb/trino/security/advisories/GHSA-f6pc-crhh-cp96"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-15087"
}, {
"type" : "WEB",
"url" : "https://prestosql.io/docs/current/release/release-337.html#security-changes"
}, {
"type" : "WEB",
"url" : "https://trino.io/docs/current/release/release-337.html#security-changes"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-285" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-30T16:33:11Z",
"nvd_published_at" : "2020-06-30T17:15:00Z"
}
}