8.8
CWE
77
Advisory Published
Advisory Published
Updated

CVE-2023-32007: Apache Spark: Shell command injection via Spark UI

First published: Tue May 02 2023(Updated: )

** UNSUPPORTED WHEN ASSIGNED ** The Apache Spark UI offers the possibility to enable ACLs via the configuration option spark.acls.enable. With an authentication filter, this checks whether a user has access permissions to view or modify the application. If ACLs are enabled, a code path in HttpSecurityFilter can allow someone to perform impersonation by providing an arbitrary user name. A malicious user might then be able to reach a permission check function that will ultimately build a Unix shell command based on their input, and execute it. This will result in arbitrary shell command execution as the user Spark is currently running as. This issue was disclosed earlier as CVE-2022-33891, but incorrectly claimed version 3.1.3 (which has since gone EOL) would not be affected. NOTE: This vulnerability only affects products that are no longer supported by the maintainer. Users are recommended to upgrade to a supported version of Apache Spark, such as version 3.4.0.

Credit: security@apache.org security@apache.org

Affected SoftwareAffected VersionHow to fix
Apache Spark<=3.0.3
Apache Spark>=3.1.1<=3.1.3
Apache Spark>=3.2.0<=3.2.1
pip/pyspark>=3.1.1<3.2.2
3.2.2
maven/org.apache.spark:spark-parent_2.12>=3.1.1<3.2.2
3.2.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the vulnerability ID for this Apache Spark vulnerability?

    The vulnerability ID for this Apache Spark vulnerability is CVE-2023-32007.

  • What is the severity of CVE-2023-32007?

    The severity of CVE-2023-32007 is high.

  • What is the affected software?

    The affected software is Apache Spark version 3.0.3 up to and including 3.2.1.

  • What is the recommended fix for this vulnerability?

    The recommended fix for this vulnerability is to apply the latest security patch provided by Apache Spark.

  • Where can I find more information about this vulnerability?

    You can find more information about this vulnerability on the Apache Spark security page, as well as the CVE-2023-32007 record on the CVE website.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203