Bug 2165797 (CVE-2022-48285)

Summary: CVE-2022-48285 jszip: directory traversal via a crafted ZIP archive
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aileenc, aruklets, bdettelb, chazlett, dfreiber, doconnor, drow, dymurray, erack, fmuellner, fzatlouk, gmalinko, gotiwari, ibolton, janstey, jburrell, jhorak, jmatthew, jmontleo, jpavlik, jshaughn, jwendell, jwon, klember, mvyas, nboldt, pdelbell, pgaikwad, rcernich, rhel-process-autobot, rjohnson, rogbas, scorneli, sdawley, slucidi, sseago, stransky, tpopela, twalsh, vkumar, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: jszip 3.8.0 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the JSZip package. Affected versions of JSZip could allow a remote attacker to traverse directories on the system caused by the failure to sanitize filenames when files are loaded with `loadAsync`, which makes the library vulnerable to a Zip Slip attack. By extracting files from a specially crafted archive, an attacker could gain access to parts of the file system outside of the target folder, overwrite the executable files, and execute arbitrary commands on the system.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-23 11:48:38 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: 2166199, 2166203, 2166204, 2166205    
Bug Blocks: 2165560    

Comment 2 Avinash Hanwate 2023-02-01 07:09:25 UTC
Created mozjs68 tracking bugs for this issue:

Affects: fedora-all [bug 2166203]


Created mozjs78 tracking bugs for this issue:

Affects: fedora-all [bug 2166204]


Created seamonkey tracking bugs for this issue:

Affects: fedora-all [bug 2166205]

Comment 6 errata-xmlrpc 2023-03-23 02:16:27 UTC
This issue has been addressed in the following products:

  Red Hat Migration Toolkit for Containers 1.7

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

Comment 7 Product Security DevOps Team 2023-03-23 11:48:35 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-48285