PyPi: Spark-On-K8s

CVE-2024-24762

Transitive

Safety vulnerability ID: 65493

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Feb 05, 2024 Updated at Feb 17, 2025
Scan your Python projects for vulnerabilities →

Advisory

Spark-on-k8s version 0.2.0 updates its dependencies on `FastAPI` to version ^0.109.1. This upgrade addresses security concerns detailed in CVE-2024-24762.

Affected package

spark-on-k8s

Latest version: 0.12.0

A Python package to submit and manage Apache Spark applications on Kubernetes.

Affected versions

Fixed versions

Vulnerability changelog

What's Changed
* Support creating an ephemeral secret for sensitive arguments (Python client, CLI, and Airflow operator)
* Support mounting existing secrets to the driver pod as environment variables (Python client and CLI)
* Support mounting volumes to the spark driver pod (Python client and Airflow operator)
* Support mounting volumes to the spark executor pods (Python client and Airflow operator)

Security
* Add a lower bound for `aiohttp` to avoid [CVE-2024-23829 ](https://github.com/advisories/GHSA-8qpw-xqxj-h4r2) and [CVE-2024-23334](https://github.com/advisories/GHSA-5h86-8mv2-jq9f)
* Bump `FastAPI` and `starlette` versions to fix [CVE-2024-24762](https://github.com/advisories/GHSA-2jv5-9r88-3w3p)

**Full Changelog**: https://github.com/hussein-awala/spark-on-k8s/compare/0.1.0...0.2.0

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

HIGH 7.5

CVSS v3 Details

HIGH 7.5
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
NONE
Integrity Impact (I)
NONE
Availability Availability (A)
HIGH