Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-8024
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:37 UTC · Revision 1
Source evidence
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.
osv:CVE-2018-8024
Complete source record
{
"id": "5fdacb0dc536748f00b93420b52de925cae94850558ad5c5f04dc3187a69fb91",
"url": "https://osv.dev/vulnerability/CVE-2018-8024",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-8024",
"summary": "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.",
"evidence": "osv:CVE-2018-8024",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2018-8024",
"aliases": [
"CVE-2018-8024",
"GHSA-8cw6-5qvp-q3wj"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/spark",
"type": "GIT",
"events": [
{
"introduced": "cd0a08361e2526519e7c131c42116bf56fa62c76"
},
{
"last_affected": "2abaea9e40fce81cd4626498e0f5c28a70917499"
},
{
"introduced": "a2c7b2133cfee7fa9abfaa2bfbfb637155466783"
},
{
"last_affected": "e30e2698a2193f0bbdcd4edb884710819ab6397c"
},
{
"introduced": "992447fb30ee9ebb3cf794f2d06f4d63a2d792db"
},
{
"last_affected": "992447fb30ee9ebb3cf794f2d06f4d63a2d792db"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.1.0"
},
{
"last_affected": "2.1.2"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.2.0"
},
{
"last_affected": "2.2.1"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:apache:spark:2.3.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.3.0"
},
{
"last_affected": "2.3.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"2.3.0",
"v2.3.0",
"v2.2.1-rc2",
"v2.2.1",
"v2.2.1-rc1",
"v2.1.2-rc4",
"v2.1.2",
"v2.1.2-rc3",
"v2.1.2-rc2",
"v2.1.2-rc1",
"v2.2.0",
"v2.1.1",
"v2.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-8024.json"
}
}
],
"modified": "2026-10-24T10:30:55.817121113Z",
"provider": "osv",
"references": [
"https://lists.apache.org/thread.html/5f241d2cda21cbcb3b63e46e474cf5f50cce66927f08399f4fab0aba%40%3Cdev.spark.apache.org%3E",
"https://spark.apache.org/security.html#CVE-2018-8024"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2018-8024",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 438508,
"published_at": "2018-07-12T13:29:00.273+00:00"
}