Bug 2185300 (CVE-2023-29465)

Summary: CVE-2023-29465 flintqs: temp files with predictable names written to /tmp
Product: [Other] Security Response Reporter: Zack Miele <zmiele>
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:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-04-08 01:05: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: 2185301, 2185302    
Bug Blocks:    

Description Zack Miele 2023-04-07 20:32:51 UTC
SageMath FlintQS 1.0 relies on pathnames under TMPDIR (typically world-writable), which (for example) allows a local user to overwrite files with the privileges of a different user (who is running FlintQS).

https://github.com/sagemath/sage/pull/35419
https://github.com/sagemath/FlintQS/issues/3

Comment 1 Zack Miele 2023-04-07 20:33:06 UTC
Created flintqs tracking bugs for this issue:

Affects: epel-all [bug 2185301]
Affects: fedora-all [bug 2185302]

Comment 2 Product Security DevOps Team 2023-04-08 01:05: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.