Bug 2148245 (CVE-2022-44789)

Summary: CVE-2022-44789 mujs: use-after-free in O_getOwnPropertyDescriptor() in jsobject.c
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mujs 1.3.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-08 10:18:36 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: 2148260, 2148261    
Bug Blocks: 2147547    

Description Guilherme de Almeida Suckevicz 2022-11-24 17:26:51 UTC
A logical issue in O_getOwnPropertyDescriptor() in Artifex MuJS 1.0.0 through 1.3.1 allows an attacker to achieve Remote Code Execution through memory corruption, via the loading of a crafted JavaScript file.

Reference:
https://github.com/alalng/CVE-2022-44789/blob/main/PublicReferenceURL.txt

Upstream patch:
https://github.com/ccxvii/mujs/commit/edb50ad66f7601ca9a3544a0e9045e8a8c60561f

Comment 1 Guilherme de Almeida Suckevicz 2022-11-24 18:13:50 UTC
Created mujs tracking bugs for this issue:

Affects: epel-8 [bug 2148260]
Affects: fedora-all [bug 2148261]

Comment 2 Product Security DevOps Team 2022-12-08 10:18:34 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.