CVE-2018-11804: Improper Input Validation in Apache Spark

org.apache.spark:spark-core Updated 02 Oct 2025

Summary

14/05/2022
No i
High
7.5

CVE-2018-11804: Improper Input Validation in Apache Spark. Affects org.apache.spark:spark-core versions >= 1.3.0, <= 2.1.3. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Apache Spark is an open-source distributed computing system used for big data processing and analytics. It provides a programming model and an execution engine that supports a wide range of applications. The 'spark-core' package is a fundamental component of Spark, providing core functionality and APIs for distributed computing. This vulnerability affects developers building Spark from source code, specifically in the Apache Maven-based build process.

Vulnerability Detail

The vulnerability in Apache Spark arises from an improper input validation issue in the 'build/mvn' convenience script used for compiling the code. This script includes a zinc server that speeds up compilation. By default, the zinc server accepts connections from external hosts. An attacker can exploit this by sending a specially-crafted request to the zinc server, potentially leading to the disclosure of sensitive information in files accessible to the developer account running the build. It is important to note that this vulnerability does not impact end users of Spark, but only developers building Spark from source code.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround provided for this vulnerability. However, developers can minimize the risk by ensuring the zinc server is not exposed to external hosts or by implementing additional access controls to restrict connections to trusted sources only.

Conclusion

The vulnerability in Apache Spark's build process can potentially expose sensitive information to attackers. Developers building Spark from source code should ensure they are using a patched version of Spark and follow secure build practices. It is recommended to regularly check for updates and apply patches to mitigate the risk. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for org.apache.spark:spark-core →

Share this vulnerability

FAQ

This vulnerability only affects developers building Apache Spark from source code using the Apache Maven-based build process. End users of Spark are not impacted.

If exploited, this vulnerability could allow an attacker to access sensitive information in files readable to the developer account running the build process. However, it does not impact the security of Spark deployments for end users.

There are no known instances of this vulnerability being exploited in the wild. However, it is recommended to apply the necessary patches and follow secure build practices to mitigate the risk.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using just the pom.xml file for analysis.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.spark:spark-core.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback