Bug 2153683 (CVE-2022-42856)

Summary: CVE-2022-42856 webkitgtk: processing maliciously crafted web content may lead to an arbitrary code execution
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: kwalker, mcatanza, oddvar.tjugen, pdwyer, rfreire, sbarcomb, tpopela, ymittal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in webkitgtk, where a type confusion issue was addressed with improved memory handling. By this security flaw processing maliciously crafted web content may lead to arbitrary code execution.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-05 23:00:39 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: 2153684, 2153685, 2153692, 2153693, 2153729, 2153730, 2153731, 2153732, 2153733, 2153734, 2153735, 2153736, 2153737, 2153738, 2153739, 2155010    
Bug Blocks: 2153686    

Description Marian Rehak 2022-12-15 08:06:35 UTC
Processing maliciously crafted web content may lead to arbitrary code execution, due to a type confusion.

Reference:

https://support.apple.com/en-us/HT213531

Comment 1 Marian Rehak 2022-12-15 08:06:58 UTC
Created webkit2gtk3 tracking bugs for this issue:

Affects: fedora-36 [bug 2153684]


Created webkitgtk tracking bugs for this issue:

Affects: fedora-37 [bug 2153685]

Comment 4 Marian Rehak 2022-12-15 10:27:40 UTC
Upstream bz (private as of now):

https://bugs.webkit.org/show_bug.cgi?id=248266

Comment 12 Michael Catanzaro 2022-12-20 04:47:51 UTC
Mitigation: the environment variable JSC_useFTLJIT=0 will disable the vulnerable code. (This will also somewhat slow down JavaScript execution.)

Comment 15 errata-xmlrpc 2023-01-04 08:44:48 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 16 errata-xmlrpc 2023-01-04 11:01:15 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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

Comment 17 Product Security DevOps Team 2023-01-05 23:00:37 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-42856