Bug 2135591 (CVE-2022-41751)

Summary: CVE-2022-41751 jhead: arbitrary OS commands by placing them in a JPEG filename
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: adrian
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-30 02:58:03 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: 2135592, 2135593    
Bug Blocks:    

Description Marian Rehak 2022-10-18 04:41:30 UTC
Jhead 3.06.0.1 allows attackers to execute arbitrary OS commands by placing them in a JPEG filename and then using the regeneration -rgt50 option.

Reference:

https://github.com/Matthias-Wandel/jhead/blob/63ce118c6a59ea64ac357236a11a47aaf569d622/jhead.c#L788
https://github.com/Matthias-Wandel/jhead/pull/57

Comment 1 Marian Rehak 2022-10-18 04:41:46 UTC
Created jhead tracking bugs for this issue:

Affects: epel-all [bug 2135593]
Affects: fedora-all [bug 2135592]

Comment 2 Product Security DevOps Team 2022-11-30 02:58:01 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.