Bug 2145264 (CVE-2022-31777)

Summary: CVE-2022-31777 apache-spark: XSS vulnerability in log viewer UI Javascript
Product: [Other] Security Response Reporter: Patrick Del Bello <pdelbell>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aileenc, balejosg, chazlett, fmongiar, gmalinko, janstey, jnethert, jpavlik, jpoth, jwon, pantinor, pdelbell, peholase, pjindal, tcunning, yfang
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A stored cross-site scripting (XSS) flaw was found in Apache Spark. This issue allows an attacker to execute arbitrary JavaScript in the web browser of a user, including a malicious payload into the logs which are returned in logs rendered in the UI.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-03 19:15:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2139619    

Description Patrick Del Bello 2022-11-23 16:27:25 UTC
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.

https://lists.apache.org/thread/60mgbswq2lsmrxykfxpqq13ztkm2ht6q
http://www.openwall.com/lists/oss-security/2022/11/01/14

Comment 2 errata-xmlrpc 2023-05-03 14:06:29 UTC
This issue has been addressed in the following products:

  RHINT Camel-Springboot 3.20.1

Via RHSA-2023:2100 https://access.redhat.com/errata/RHSA-2023:2100

Comment 3 Product Security DevOps Team 2023-05-03 19:15:07 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-31777