Bug 2245338 (CVE-2023-46277, RUSTSEC-2023-0066)

Summary: CVE-2023-46277 rust-pleaser: privilege escalation using ioctls TIOCSTI and TIOCLINUX
Product: [Other] Security Response Reporter: Robb Gatica <rgatica>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
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: 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: 2245339, 2245340    
Bug Blocks:    

Description Robb Gatica 2023-10-20 20:28:04 UTC
please (aka pleaser) through version 0.5.4 allows privilege escalation through the TIOCSTI and/or TIOCLINUX ioctl. (If both TIOCSTI and TIOCLINUX are disabled, this cannot be exploited.)

https://gitlab.com/edneville/please/-/merge_requests/69#note_1594254575
https://gitlab.com/edneville/please/-/issues/13
https://rustsec.org/advisories/RUSTSEC-2023-0066.html
https://github.com/rustsec/advisory-db/pull/1798

Comment 1 Robb Gatica 2023-10-20 20:28:19 UTC
Created rust-pleaser tracking bugs for this issue:

Affects: epel-all [bug 2245339]
Affects: fedora-all [bug 2245340]