Bug 2266156 (CVE-2024-27456)

Summary: CVE-2024-27456 rack-cors: Insecure File Permissions in rack-cors
Product: [Other] Security Response Reporter: Marco Benatto <mbenatto>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bbuckingham, bcourt, ehelms, jsherril, lzap, mhulan, nmoumoul, orabin, pcreech, rchan
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
An insecure file permission flaw was found in rack-cors. The permissions for .rb files distributed with rack-cors ruby gem are set to `0666` by default, which may allow users with low privileges to edit files. This issue impacts integrity, confidentiality, and availability.
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: 2266158, 2266159, 2266160, 2266161    
Bug Blocks: 2266152    

Description Marco Benatto 2024-02-26 20:05:19 UTC
There's an insecure file permissions in the rack-cors ruby gem. The files are set with too permissive permissions (0666), leading to a possible disclosure or modification of files.

https://github.com/cyu/rack-cors/issues/274

Comment 1 Marco Benatto 2024-02-26 20:06:15 UTC
Created rubygem-rack-cors tracking bugs for this issue:

Affects: fedora-all [bug 2266158]

Comment 2 Marco Benatto 2024-02-26 20:08:34 UTC
Created rubygem-rack-cors tracking bugs for this issue:

Affects: epel-7 [bug 2266159]