CWE
74 79
Advisory Published
Advisory Published
Updated

CVE-2022-31777: Apache Spark XSS vulnerability in log viewer UI Javascript

First published: Tue Nov 01 2022(Updated: )

A stored cross-site scripting (XSS) vulnerability in Apache Spark 3.2.1 and earlier, and 3.3.0, allows remote attackers to execute arbitrary JavaScript in the web browser of a user, by including a malicious payload into the logs which would be returned in logs rendered in the UI.

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

Affected SoftwareAffected VersionHow to fix
Apache Spark<3.2.2
Apache Spark=3.3.0
pip/pyspark=3.3.0
3.3.1
pip/pyspark<3.2.2
3.2.2
maven/org.apache.spark:spark-core=3.3.0
3.3.1
maven/org.apache.spark:spark-core<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.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2022-31777?

    CVE-2022-31777 is a stored cross-site scripting (XSS) vulnerability in Apache Spark that allows remote attackers to execute arbitrary JavaScript in the user's web browser.

  • How does CVE-2022-31777 impact users?

    CVE-2022-31777 allows attackers to execute malicious JavaScript code in the web browser of a user, potentially leading to unauthorized access or data theft.

  • Which versions of Apache Spark are affected by CVE-2022-31777?

    Apache Spark versions 3.2.1 and earlier, and 3.3.0 are affected by CVE-2022-31777.

  • How can I remediate CVE-2022-31777 in Apache Spark?

    To remediate CVE-2022-31777 in Apache Spark, upgrade to version 3.2.2 or 3.3.1 depending on the affected version.

  • Where can I find more information about CVE-2022-31777?

    You can find more information about CVE-2022-31777 in the following references: [CVE-2022-31777](https://www.cve.org/CVERecord?id=CVE-2022-31777), [NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-31777), [Red Hat Bugzilla](https://bugzilla.redhat.com/show_bug.cgi?id=2145264), [Red Hat Advisory](https://access.redhat.com/errata/RHSA-2023:2100).

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