Bug 2211084 (CVE-2023-34204)

Summary: CVE-2023-34204 imapsync: insecure /tmp usage
Product: [Other] Security Response Reporter: Mauro Matteo Cascella <mcascell>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
imapsync through 2.229 uses predictable paths under /tmp and /var/tmp in its default mode of operation. Both of these are typically world-writable, and thus (for example) an attacker can modify imapsync's cache and overwrite files belonging to the user who runs it.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-30 18:33:33 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: 2211085, 2211086    
Bug Blocks:    

Description Mauro Matteo Cascella 2023-05-30 13:15:25 UTC
imapsync through 2.229 uses predictable paths under /tmp and /var/tmp in its default mode of operation. Both of these are typically world-writable, and thus (for example) an attacker can modify imapsync's cache and overwrite files belonging to the user who runs it.

Upstream issue:
https://github.com/imapsync/imapsync/issues/399

Comment 1 Mauro Matteo Cascella 2023-05-30 13:15:42 UTC
Created imapsync tracking bugs for this issue:

Affects: epel-all [bug 2211085]
Affects: fedora-all [bug 2211086]

Comment 2 Product Security DevOps Team 2023-05-30 18:33:31 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.