CVE-2018-17190: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
(updated )
In all versions of Apache Spark, its standalone resource manager accepts code to execute on a ‘master’ host, that then runs that code on ‘worker’ hosts. The master itself does not, by design, execute user code. A specially-crafted request to the master can, however, cause the master to execute code too. Note that this does not affect standalone clusters with authentication enabled. While the master host typically has less outbound access to other resources than a worker, the execution of code on the master is nevertheless unexpected.
References
- www.securityfocus.com/bid/105976
- github.com/advisories/GHSA-phg2-9c5g-m4q7
- lists.apache.org/thread.html/341c3187f15cdb0d353261d2bfecf2324d56cb7db1339bfc7b30f6e5@%3Cdev.spark.apache.org%3E
- nvd.nist.gov/vuln/detail/CVE-2018-17190
- security.gentoo.org/glsa/201903-21
- www.oracle.com/security-alerts/cpujul2020.html
Detect and mitigate CVE-2018-17190 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →